Refactor function name #4715

This commit is contained in:
Jerry (Xinyu Hou) 2015-11-18 16:05:08 -08:00
parent cab8a99233
commit 4b2fc8c4c9
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -82,7 +82,7 @@ bool SubscriptionManager::checkSubscription()
return true;
}
bool SubscriptionManager::checkSubscriptionExist()
bool SubscriptionManager::fileExists()
{
CoreInterface coreInterface;
QString subscriptionFilename = coreInterface.getSubscriptionFilename();

View File

@ -28,7 +28,7 @@ public:
bool activateSerial(const QString& serial);
bool checkSubscription();
bool checkSubscriptionExist();
bool fileExists();
QString getLastError(){ return m_ErrorMessage; }
private: