Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #9002 from OatmealDome/renderwidget-sheet
MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS
  • Loading branch information
Tilka committed Aug 8, 2020
2 parents 4c64446 + fae8f8d commit d7a96f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/MainWindow.cpp
Expand Up @@ -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?") :
Expand Down

0 comments on commit d7a96f9

Please sign in to comment.