Qt: Show exit confirmation prompt on main window

This commit is contained in:
spycrab 2018-05-25 03:53:40 +02:00
parent 7931d2d00d
commit fc928ddfc8
1 changed files with 1 additions and 1 deletions

View File

@ -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 "