diff options
| author | spycrab <spycrab@users.noreply.github.com> | 2018-05-25 03:53:40 +0200 |
|---|---|---|
| committer | spycrab <spycrab@users.noreply.github.com> | 2018-05-25 03:53:40 +0200 |
| commit | fc928ddfc8c306238deca476794d7f4ab8b1f375 (patch) | |
| tree | 0aa0f446d00dce93ee2b25eff6ec63135ff49ce3 /Source/Core/DolphinQt2/MainWindow.cpp | |
| parent | 7931d2d00de1d93fe03372cf4fc81bc4f4c8b3a6 (diff) | |
Qt: Show exit confirmation prompt on main window
Diffstat (limited to 'Source/Core/DolphinQt2/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt2/MainWindow.cpp b/Source/Core/DolphinQt2/MainWindow.cpp index 89d0b7775c..524ec9114b 100644 --- a/Source/Core/DolphinQt2/MainWindow.cpp +++ b/Source/Core/DolphinQt2/MainWindow.cpp @@ -607,7 +607,7 @@ bool MainWindow::RequestStop() Core::SetState(Core::State::Paused); QMessageBox::StandardButton confirm; - confirm = QMessageBox::question(m_render_widget, tr("Confirm"), + confirm = QMessageBox::question(this, tr("Confirm"), m_stop_requested ? tr("A shutdown is already in progress. Unsaved data " "may be lost if you stop the current emulation " |
