1
0
Fork 0

Fix launcher cmd-Q behaviour.

This commit is contained in:
James Turner 2016-09-08 11:41:21 +01:00
parent db31e0d49c
commit 0d069f2581

View file

@ -502,7 +502,7 @@ bool runLauncherDialog()
dlg.show(); dlg.show();
int appResult = qApp->exec(); int appResult = qApp->exec();
if (appResult < 0) { if (appResult <= 0) {
return false; // quit return false; // quit
} }
@ -966,7 +966,8 @@ void QtLauncher::onRun()
saveSettings(); saveSettings();
qApp->exit(0); // set a positive value here so we can detect this case in runLauncherDialog
qApp->exit(1);
} }