diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 16:02:07 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 16:02:07 +0200 |
commit | 9f3bf6d157826fff311950972e91ec86b98598ae (patch) | |
tree | d9aa92ee2ac7852fd9996c0c956ed2c435ed3768 | |
parent | qt: Prompt user for confirmation if exit lock is active (diff) | |
download | yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.gz yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.bz2 yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.lz yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.xz yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.zst yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 328f599f1..2d82df739 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -2195,7 +2195,7 @@ bool GMainWindow::ConfirmChangeGame() { if (emu_thread == nullptr) return true; - auto answer = QMessageBox::question( + const auto answer = QMessageBox::question( this, tr("yuzu"), tr("Are you sure you want to stop the emulation? Any unsaved progress will be lost."), QMessageBox::Yes | QMessageBox::No, QMessageBox::No); @@ -2206,7 +2206,7 @@ bool GMainWindow::ConfirmForceLockedExit() { if (emu_thread == nullptr) return true; - auto answer = + const auto answer = QMessageBox::question(this, tr("yuzu"), tr("The currently running application has requested yuzu to not " "exit.\n\nWould you like to bypass this and exit anyway?"), |