From c996e454902f69f04395c370896618c375db746a Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Thu, 12 Sep 2019 09:48:15 -0300 Subject: [PATCH] Use defined, custom application name. --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index 111c7df071..324da7fdce 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; } -- GitLab