Qt: Add copy/clear game settings

This commit is contained in:
Stenzek
2024-03-21 00:41:54 +10:00
parent 3085172ffd
commit 604dd5df40
10 changed files with 263 additions and 82 deletions

View File

@ -2737,7 +2737,7 @@ bool MainWindow::requestShutdown(bool allow_confirm /* = true */, bool allow_sav
save_state &= allow_save_to_state;
// Only confirm on UI thread because we need to display a msgbox.
if (!m_is_closing && allow_confirm && g_settings.confim_power_off)
if (!m_is_closing && allow_confirm && Host::GetBaseBoolSettingValue("Main", "ConfirmPowerOff", true))
{
SystemLock lock(pauseAndLockSystem());