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…
Reference in New Issue