From 408029e8a310e142d798ee58af0a08abc06b5034 Mon Sep 17 00:00:00 2001 From: Techjar Date: Sat, 26 Jan 2019 07:26:56 -0500 Subject: [PATCH] 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. --- Source/Core/DolphinQt/MainWindow.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 9caf98d966..8389940c06 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/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