mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 11:55:35 +08:00
Renamed function to processNames as part of review
https://dev.vatsim-germany.org/issues/894#note-3
This commit is contained in:
committed by
Mathew Sutcliffe
parent
8b1c8c068b
commit
797e5dd576
@@ -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)
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace BlackMisc
|
||||
int removeApplication(CApplicationInfo::Application application);
|
||||
|
||||
//! Running application names
|
||||
QStringList runningProcessNames() const;
|
||||
QStringList processNames() const;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user