mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-16 19:05:39 +00:00
commit
99e64e6593
|
@ -2450,7 +2450,7 @@ bool MainWindow::requestShutdown(bool allow_confirm /* = true */, bool allow_sav
|
||||||
QMessageBox msgbox(lock.getDialogParent());
|
QMessageBox msgbox(lock.getDialogParent());
|
||||||
msgbox.setIcon(QMessageBox::Question);
|
msgbox.setIcon(QMessageBox::Question);
|
||||||
msgbox.setWindowTitle(tr("Confirm Shutdown"));
|
msgbox.setWindowTitle(tr("Confirm Shutdown"));
|
||||||
msgbox.setText("Are you sure you want to shut down the virtual machine?");
|
msgbox.setText(tr("Are you sure you want to shut down the virtual machine?"));
|
||||||
|
|
||||||
QCheckBox* save_cb = new QCheckBox(tr("Save State For Resume"), &msgbox);
|
QCheckBox* save_cb = new QCheckBox(tr("Save State For Resume"), &msgbox);
|
||||||
save_cb->setChecked(allow_save_to_state && save_state);
|
save_cb->setChecked(allow_save_to_state && save_state);
|
||||||
|
|
Loading…
Reference in a new issue