mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
main: Use const on all variable initializations
This commit is contained in:
parent
68add35d52
commit
79dde8eb3b
1 changed files with 2 additions and 2 deletions
|
@ -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?"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue