From 84b3d28dbdbe74feebac18fdf26ade92495f96b5 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 8 Nov 2011 18:33:46 +1000 Subject: [PATCH] Whoops. Stop closing on mac --- preferencesdialog.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/preferencesdialog.cpp b/preferencesdialog.cpp index 0bfc3443..d98a8922 100644 --- a/preferencesdialog.cpp +++ b/preferencesdialog.cpp @@ -278,7 +278,6 @@ void PreferencesDialog::Save() if (QMessageBox::question(this,"Restart Required","One or more of the changes you have made will require this application to be restarted, in order for these changes to come into effect.\nWould you like do this now?",QMessageBox::Yes,QMessageBox::No)==QMessageBox::Yes) { QProcess proc; QStringList args; - QApplication::instance()->exit(); QString apppath; #ifdef Q_OS_MAC // In Mac OS the full path of aplication binary is: