From 797e5dd576cac811e9ce224a1fc9166284a37e0a Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 4 Mar 2017 02:46:22 +0100 Subject: [PATCH] Renamed function to processNames as part of review https://dev.vatsim-germany.org/issues/894#note-3 --- src/blackmisc/applicationinfolist.cpp | 2 +- src/blackmisc/applicationinfolist.h | 2 +- src/swiftlauncher/swiftlauncher.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blackmisc/applicationinfolist.cpp b/src/blackmisc/applicationinfolist.cpp index 565c872e0..5633406a5 100644 --- a/src/blackmisc/applicationinfolist.cpp +++ b/src/blackmisc/applicationinfolist.cpp @@ -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) diff --git a/src/blackmisc/applicationinfolist.h b/src/blackmisc/applicationinfolist.h index 3252b3613..6f5042250 100644 --- a/src/blackmisc/applicationinfolist.h +++ b/src/blackmisc/applicationinfolist.h @@ -41,7 +41,7 @@ namespace BlackMisc int removeApplication(CApplicationInfo::Application application); //! Running application names - QStringList runningProcessNames() const; + QStringList processNames() const; }; } diff --git a/src/swiftlauncher/swiftlauncher.cpp b/src/swiftlauncher/swiftlauncher.cpp index 882ab1098..bd865bc19 100644 --- a/src/swiftlauncher/swiftlauncher.cpp +++ b/src/swiftlauncher/swiftlauncher.cpp @@ -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; }