Skip to content

Commit

Permalink
Qt: Show exit confirmation prompt on main window
Browse files Browse the repository at this point in the history
  • Loading branch information
spycrab committed May 25, 2018
1 parent 7931d2d commit fc928dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt2/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit fc928dd

Please sign in to comment.