mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Qt: Show exit confirmation prompt on main window
This commit is contained in:
parent
7931d2d00d
commit
fc928ddfc8
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user