summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-10-08 23:24:53 -0400
committerGitHub <noreply@github.com>2019-10-08 23:24:53 -0400
commitc01e80a651f5e25441330ad20253bb47ad0f516c (patch)
treec801c21b793f2fd4d9c141b7c0efe9836912a99a /src/spawn.cpp
parent94b40b328b7e455ad4799b98c2b00cd5d96f86f3 (diff)
parent3d97b0efd04326c0252411fc6639c4c6df2f2160 (diff)
Merge pull request #858 from isanae/proper-exit
Proper exit procedure
Diffstat (limited to 'src/spawn.cpp')
-rw-r--r--src/spawn.cpp12
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;
}