summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-09-22 10:02:07 -0400
committerGravatar Zach Hilman2019-09-22 10:02:07 -0400
commit9f3bf6d157826fff311950972e91ec86b98598ae (patch)
treed9aa92ee2ac7852fd9996c0c956ed2c435ed3768 /src
parentqt: Prompt user for confirmation if exit lock is active (diff)
downloadyuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.gz
yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.tar.xz
yuzu-9f3bf6d157826fff311950972e91ec86b98598ae.zip
main: Use const on all variable initializations
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/main.cpp4
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() {
2195 if (emu_thread == nullptr) 2195 if (emu_thread == nullptr)
2196 return true; 2196 return true;
2197 2197
2198 auto answer = QMessageBox::question( 2198 const auto answer = QMessageBox::question(
2199 this, tr("yuzu"), 2199 this, tr("yuzu"),
2200 tr("Are you sure you want to stop the emulation? Any unsaved progress will be lost."), 2200 tr("Are you sure you want to stop the emulation? Any unsaved progress will be lost."),
2201 QMessageBox::Yes | QMessageBox::No, QMessageBox::No); 2201 QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
@@ -2206,7 +2206,7 @@ bool GMainWindow::ConfirmForceLockedExit() {
2206 if (emu_thread == nullptr) 2206 if (emu_thread == nullptr)
2207 return true; 2207 return true;
2208 2208
2209 auto answer = 2209 const auto answer =
2210 QMessageBox::question(this, tr("yuzu"), 2210 QMessageBox::question(this, tr("yuzu"),
2211 tr("The currently running application has requested yuzu to not " 2211 tr("The currently running application has requested yuzu to not "
2212 "exit.\n\nWould you like to bypass this and exit anyway?"), 2212 "exit.\n\nWould you like to bypass this and exit anyway?"),