mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-07 03:30:44 +00:00
Whoops. Stop closing on mac
This commit is contained in:
parent
8da1b4b3d5
commit
84b3d28dbd
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user