Add quit launcher after game stops option (Steam Deck)
lecense
This commit is contained in:
parent
c7fdfb8116
commit
b1af689546
8 changed files with 83 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue