Whoops. Stop closing on mac

This commit is contained in:
Mark Watkins 2011-11-08 18:33:46 +10:00
parent 8da1b4b3d5
commit 84b3d28dbd

View File

@ -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) { 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; QProcess proc;
QStringList args; QStringList args;
QApplication::instance()->exit();
QString apppath; QString apppath;
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
// In Mac OS the full path of aplication binary is: // In Mac OS the full path of aplication binary is: