From 3080ed10cb7867d49cb5bc95de9e47de1c13f09c Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Thu, 7 Dec 2023 13:19:15 +0300 Subject: [PATCH] UI: Options: Turn on the "Use System Regional Settings" flag by default --- src/ui/user/iniuser.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/user/iniuser.h b/src/ui/user/iniuser.h index f7dc4ca1..1a06c429 100644 --- a/src/ui/user/iniuser.h +++ b/src/ui/user/iniuser.h @@ -14,8 +14,8 @@ public: QString language() const { return valueText("base/language", defaultLanguage()); } void setLanguage(const QString &v) { setValue("base/language", v); } - bool useSystemLocale() const { return valueBool("base/useSystemLocale"); } - void setUseSystemLocale(bool v) { setValue("base/useSystemLocale", v); } + bool useSystemLocale() const { return valueBool("base/useSystemLocale", true); } + void setUseSystemLocale(bool v) { setValue("base/useSystemLocale", v, true); } bool hotKeyEnabled() const { return valueBool("hotKey/enabled"); } void setHotKeyEnabled(bool v) { setValue("hotKey/enabled", v); }