Merge pull request #9002 from OatmealDome/renderwidget-sheet

MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS
This commit is contained in:
Tilka 2020-08-08 19:18:32 +01:00 committed by GitHub
commit d7a96f927c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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?") :