summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/MainWindow.cpp
diff options
context:
space:
mode:
authorOatmealDome <julian@oatmealdome.me>2020-08-03 05:48:57 -0400
committerOatmealDome <julian@oatmealdome.me>2020-08-03 05:48:57 -0400
commitfae8f8d68bd226e819666c1edad9857f1ba75afd (patch)
tree32a8317344f9f287333a19b78055817e27060c2f /Source/Core/DolphinQt/MainWindow.cpp
parentafd25de85ef836ca376d84062e48674d2a5218d9 (diff)
MainWindow: Attach quit emulation sheet to RenderWidget on macOS
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp
index bff3a6422c..ddc09bb825 100644
--- a/Source/Core/DolphinQt/MainWindow.cpp
+++ b/Source/Core/DolphinQt/MainWindow.cpp
@@ -824,7 +824,7 @@ bool MainWindow::RequestStop()
Core::SetState(Core::State::Paused);
auto confirm = ModalMessageBox::question(
- this, tr("Confirm"),
+ m_rendering_to_main ? static_cast<QWidget*>(this) : m_render_widget, tr("Confirm"),
m_stop_requested ? tr("A shutdown is already in progress. Unsaved data "
"may be lost if you stop the current emulation "
"before it completes. Force stop?") :