Browse Source

Merge pull request #7809 from mavlink/customAppName

Use defined, custom application name.
QGC4.4
Gus Grubba 6 years ago committed by GitHub
parent
commit
afa8e61c36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/main.cc

2
src/main.cc

@ -232,7 +232,7 @@ int main(int argc, char *argv[]) @@ -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;
}

Loading…
Cancel
Save