Skip to content
Permalink
Browse files

Qt/MainWindow: Don't unpause after confirming shutdown

There's no good reason to do this, as it just causes running signals to
be sent as the core is shutting down.
  • Loading branch information...
Techjar committed Jan 26, 2019
1 parent 51a219c commit 408029e8a310e142d798ee58af0a08abc06b5034
Showing with 5 additions and 3 deletions.
  1. +5 −3 Source/Core/DolphinQt/MainWindow.cpp
@@ -766,11 +766,13 @@ bool MainWindow::RequestStop()
"before it completes. Force stop?") :
tr("Do you want to stop the current emulation?"));

if (pause)
Core::SetState(state);

if (confirm != QMessageBox::Yes)
{
if (pause)
Core::SetState(state);

return false;
}
}

// TODO: Add Movie shutdown

0 comments on commit 408029e

Please sign in to comment.
You can’t perform that action at this time.