diff --git a/src/main.cc b/src/main.cc index 111c7df07110691f6e1f4efc2079f748e7aed466..324da7fdce90ca4cab0e7939cad3366d00168ad9 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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; }