diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-08 23:24:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-08 23:24:53 -0400 |
| commit | c01e80a651f5e25441330ad20253bb47ad0f516c (patch) | |
| tree | c801c21b793f2fd4d9c141b7c0efe9836912a99a /src/spawn.cpp | |
| parent | 94b40b328b7e455ad4799b98c2b00cd5d96f86f3 (diff) | |
| parent | 3d97b0efd04326c0252411fc6639c4c6df2f2160 (diff) | |
Merge pull request #858 from isanae/proper-exit
Proper exit procedure
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;
}
|
