mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Merge pull request #9002 from OatmealDome/renderwidget-sheet
MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS
This commit is contained in:
@ -824,7 +824,7 @@ bool MainWindow::RequestStop()
|
|||||||
Core::SetState(Core::State::Paused);
|
Core::SetState(Core::State::Paused);
|
||||||
|
|
||||||
auto confirm = ModalMessageBox::question(
|
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 "
|
m_stop_requested ? tr("A shutdown is already in progress. Unsaved data "
|
||||||
"may be lost if you stop the current emulation "
|
"may be lost if you stop the current emulation "
|
||||||
"before it completes. Force stop?") :
|
"before it completes. Force stop?") :
|
||||||
|
Reference in New Issue
Block a user