Unverified Commit afa8e61c authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #7809 from mavlink/customAppName

Use defined, custom application name.
parents 8db263dd c996e454
......@@ -232,7 +232,7 @@ int main(int argc, char *argv[])
// QApplication is necessary to use QMessageBox
QApplication errorApp(argc, argv);
QMessageBox::critical(nullptr, QObject::tr("Error"),
QObject::tr("A second instance of QGroundControl is already running. Please close the other instance and try again.")
QObject::tr("A second instance of %1 is already running. Please close the other instance and try again.").arg(QGC_APPLICATION_NAME)
);
return -1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment