From fc928ddfc8c306238deca476794d7f4ab8b1f375 Mon Sep 17 00:00:00 2001 From: spycrab Date: Fri, 25 May 2018 03:53:40 +0200 Subject: [PATCH] Qt: Show exit confirmation prompt on main window --- Source/Core/DolphinQt2/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 89d0b7775c..524ec9114b 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -607,7 +607,7 @@ bool MainWindow::RequestStop() Core::SetState(Core::State::Paused); QMessageBox::StandardButton confirm; - confirm = QMessageBox::question(m_render_widget, tr("Confirm"), + confirm = QMessageBox::question(this, tr("Confirm"), m_stop_requested ? tr("A shutdown is already in progress. Unsaved data " "may be lost if you stop the current emulation "