mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Qt: Show exit confirmation prompt on main window
This commit is contained in:
@ -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 "
|
||||
|
Reference in New Issue
Block a user