mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Qt: Show exit confirmation prompt on main window
This commit is contained in:
parent
7931d2d00d
commit
fc928ddfc8
1 changed files with 1 additions and 1 deletions
|
@ -607,7 +607,7 @@ bool MainWindow::RequestStop()
|
||||||
Core::SetState(Core::State::Paused);
|
Core::SetState(Core::State::Paused);
|
||||||
|
|
||||||
QMessageBox::StandardButton confirm;
|
QMessageBox::StandardButton confirm;
|
||||||
confirm = QMessageBox::question(m_render_widget, tr("Confirm"),
|
confirm = QMessageBox::question(this, tr("Confirm"),
|
||||||
m_stop_requested ?
|
m_stop_requested ?
|
||||||
tr("A shutdown is already in progress. Unsaved data "
|
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 "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue