Renamed function to processNames as part of review

https://dev.vatsim-germany.org/issues/894#note-3
This commit is contained in:
Klaus Basan
2017-03-04 02:46:22 +01:00
committed by Mathew Sutcliffe
parent 8b1c8c068b
commit 797e5dd576
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ namespace BlackMisc
return this->removeIf(&CApplicationInfo::application, application);
}
QStringList CApplicationInfoList::runningProcessNames() const
QStringList CApplicationInfoList::processNames() const
{
QStringList names;
for (const CApplicationInfo &info : *this)

View File

@@ -41,7 +41,7 @@ namespace BlackMisc
int removeApplication(CApplicationInfo::Application application);
//! Running application names
QStringList runningProcessNames() const;
QStringList processNames() const;
};
}

View File

@@ -369,7 +369,7 @@ bool CSwiftLauncher::warnAboutOtherSwiftApplications()
// getting here means another application is running
const QString msg =
QStringLiteral("While using the wizard no other application should run.\nClose applications and try again.\nCurrently running: ") %
running.runningProcessNames().join(',');
running.processNames().join(',');
QMessageBox::question(this, "Wizard", msg, QMessageBox::Close);
return false;
}