diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-07 04:27:53 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-07 04:27:53 -0400 |
| commit | 3d97b0efd04326c0252411fc6639c4c6df2f2160 (patch) | |
| tree | 45249ce4d01da37203c032cc2ff0e4caf1b2ce06 /src/spawn.cpp | |
| parent | 4dbd5412860deaf0d709be5dfac1b8772285d92d (diff) | |
added ExitModOrganizer(), used instead of qApp->exit()
reset geometry uses TaskDialog
moved restart code for the settings dialog to MainWindow
fixed settings sometimes not being saved when restarting
don't log "crash dumps present" every time the settings dialog is closed
Diffstat (limited to 'src/spawn.cpp')
| -rw-r--r-- | src/spawn.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp index 079677f4..a34230b2 100644 --- a/src/spawn.cpp +++ b/src/spawn.cpp @@ -186,12 +186,12 @@ QMessageBox::StandardButton badSteamReg( .details(details)
.icon(QMessageBox::Critical)
.button({
- QObject::tr("Continue without starting Steam"),
- QObject::tr("The program may fail to launch."),
- QMessageBox::Yes})
+ QObject::tr("Continue without starting Steam"),
+ QObject::tr("The program may fail to launch."),
+ QMessageBox::Yes})
.button({
- QObject::tr("Cancel"),
- QMessageBox::Cancel})
+ QObject::tr("Cancel"),
+ QMessageBox::Cancel})
.exec();
}
@@ -517,7 +517,7 @@ bool restartAsAdmin(QWidget* parent) }
log::debug("exiting MO");
- qApp->exit(0);
+ ExitModOrganizer(Exit::Force);
return true;
}
|
