diff options
| author | Tilka <tilkax@gmail.com> | 2020-08-08 19:18:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-08 19:18:32 +0100 |
| commit | d7a96f927cea492e05ccca8149dc021f30e032b5 (patch) | |
| tree | a67a7e8a2a955b88f4742f55622a1e095127c4fd /Source/Core | |
| parent | 4c64446afe579197508a4fed00df75a2b3295a61 (diff) | |
| parent | fae8f8d68bd226e819666c1edad9857f1ba75afd (diff) | |
Merge pull request #9002 from OatmealDome/renderwidget-sheet
MainWindow: Attach quit emulation sheet to RenderWidget if shown on macOS
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
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?") : |
