From e6e41dfc9d898da0387313bacf870d0f7adc8e89 Mon Sep 17 00:00:00 2001 From: lm Date: Tue, 31 Aug 2010 13:50:57 +0200 Subject: [PATCH] Changed dialog box --- src/Core.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core.cc b/src/Core.cc index bdd612d..c4987f7 100644 --- a/src/Core.cc +++ b/src/Core.cc @@ -119,8 +119,8 @@ Core::Core(int &argc, char* argv[]) : QApplication(argc, argv) 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.setStandardButtons(QMessageBox::Yes | QMessageBox::Cancel); - msgBox.setDefaultButton(QMessageBox::Cancel); + msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No); + msgBox.setDefaultButton(QMessageBox::No); int ret = msgBox.exec(); // Close the message box shortly after the click to prevent accidental clicks