Refactor function name #4715
This commit is contained in:
parent
cab8a99233
commit
4b2fc8c4c9
|
@ -699,7 +699,7 @@ bool MainWindow::serverArgs(QStringList& args, QString& app)
|
||||||
{
|
{
|
||||||
int edition;
|
int edition;
|
||||||
SubscriptionManager subscriptionManager(this, appConfig(), edition);
|
SubscriptionManager subscriptionManager(this, appConfig(), edition);
|
||||||
if (subscriptionManager.checkSubscriptionExist())
|
if (subscriptionManager.fileExists())
|
||||||
{
|
{
|
||||||
if (!subscriptionManager.checkSubscription()) {
|
if (!subscriptionManager.checkSubscription()) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -82,7 +82,7 @@ bool SubscriptionManager::checkSubscription()
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SubscriptionManager::checkSubscriptionExist()
|
bool SubscriptionManager::fileExists()
|
||||||
{
|
{
|
||||||
CoreInterface coreInterface;
|
CoreInterface coreInterface;
|
||||||
QString subscriptionFilename = coreInterface.getSubscriptionFilename();
|
QString subscriptionFilename = coreInterface.getSubscriptionFilename();
|
||||||
|
|
|
@ -28,7 +28,7 @@ public:
|
||||||
|
|
||||||
bool activateSerial(const QString& serial);
|
bool activateSerial(const QString& serial);
|
||||||
bool checkSubscription();
|
bool checkSubscription();
|
||||||
bool checkSubscriptionExist();
|
bool fileExists();
|
||||||
QString getLastError(){ return m_ErrorMessage; }
|
QString getLastError(){ return m_ErrorMessage; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue