Add quit launcher after game stops option (Steam Deck)

lecense
This commit is contained in:
dada513
2022-03-23 19:06:17 +01:00
parent c7fdfb8116
commit b1af689546
8 changed files with 83 additions and 0 deletions

View File

@ -170,6 +170,7 @@ void LauncherPartLaunch::on_state(LoggedProcess::State state)
{
if (APPLICATION->settings()->get("CloseAfterLaunch").toBool())
APPLICATION->showMainWindow();
m_parent->setPid(-1);
// if the exit code wasn't 0, report this as a crash
auto exitCode = m_process.exitCode();