From 322c0c4c74bd9426c0f2edc2f0ff110ede5f83dc Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 23 Jul 2022 18:37:47 +1000 Subject: [PATCH] Qt: Fix controller defaults resetting some system settings --- src/duckstation-qt/qthost.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/duckstation-qt/qthost.cpp b/src/duckstation-qt/qthost.cpp index 2db9b2781..7511ae26e 100644 --- a/src/duckstation-qt/qthost.cpp +++ b/src/duckstation-qt/qthost.cpp @@ -393,12 +393,13 @@ void QtHost::SetDefaultSettings(SettingsInterface& si, bool system, bool control if (system) { System::SetDefaultSettings(si); + CommonHost::SetDefaultSettings(si); + EmuFolders::SetDefaults(); EmuFolders::Save(si); } if (controller) { - CommonHost::SetDefaultSettings(si); CommonHost::SetDefaultControllerSettings(si); CommonHost::SetDefaultHotkeyBindings(si); }