fix: save settings less often (#6620)

Reviewed-by: James Upjohn <jupjohn@jammeh.co.nz>
This commit is contained in:
pajlada
2025-12-11 17:42:23 +01:00
committed by GitHub
parent ccb8ad8ffc
commit 99f2b5b435
5 changed files with 36 additions and 10 deletions
+2 -1
View File
@@ -236,7 +236,8 @@ void HotkeyController::loadHotkeys()
auto numCombinedDefaults = set.size();
pajlada::Settings::Setting<std::vector<QString>>::set(
"/hotkeys/addedDefaults", std::vector<QString>(set.begin(), set.end()));
"/hotkeys/addedDefaults", std::vector<QString>(set.begin(), set.end()),
pajlada::Settings::SettingOption::CompareBeforeSet);
qCDebug(chatterinoHotkeys) << "Loading hotkeys...";
for (const auto &key : keys)