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;
|
||||
SubscriptionManager subscriptionManager(this, appConfig(), edition);
|
||||
if (subscriptionManager.checkSubscriptionExist())
|
||||
if (subscriptionManager.fileExists())
|
||||
{
|
||||
if (!subscriptionManager.checkSubscription()) {
|
||||
return false;
|
||||
|
|
|
@ -82,7 +82,7 @@ bool SubscriptionManager::checkSubscription()
|
|||
return true;
|
||||
}
|
||||
|
||||
bool SubscriptionManager::checkSubscriptionExist()
|
||||
bool SubscriptionManager::fileExists()
|
||||
{
|
||||
CoreInterface coreInterface;
|
||||
QString subscriptionFilename = coreInterface.getSubscriptionFilename();
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
bool activateSerial(const QString& serial);
|
||||
bool checkSubscription();
|
||||
bool checkSubscriptionExist();
|
||||
bool fileExists();
|
||||
QString getLastError(){ return m_ErrorMessage; }
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue