diff --git a/src/QGCCore.cc b/src/QGCCore.cc index 4fe7e4baeb6859c1ff1c66f5dd1d972342e6cb80..1825bacc594c77484fdffc2a41c0b24f5ac35f2f 100644 --- a/src/QGCCore.cc +++ b/src/QGCCore.cc @@ -170,7 +170,7 @@ QGCCore::QGCCore(int &argc, char* argv[]) : QApplication(argc, argv) QMessageBox msgBox; msgBox.setIcon(QMessageBox::Critical); msgBox.setText("Could not connect UDP port. Is an instance of " + qAppName() + "already running?"); - msgBox.setInformativeText("You will not be able to receive data via UDP. Please check that you're running the right executable and then re-start " + qAppName() + ". Do you want to close the application?"); + msgBox.setInformativeText("It is recommended to close the application and stop all instances. Click Yes to close."); msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); msgBox.setDefaultButton(QMessageBox::No); int ret = msgBox.exec(); @@ -185,15 +185,6 @@ QGCCore::QGCCore(int &argc, char* argv[]) : QApplication(argc, argv) QTimer::singleShot(200, mainWindow, SLOT(close())); } } - -// forever -// { -// QGC::SLEEP::msleep(5000); -// } - -// mainWindow->close(); -// mainWindow->deleteLater(); -// QGC::SLEEP::msleep(200); } /**