mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Language preference: once we figure out the locale, remember it
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
743f73e4a3
commit
5fdbc1ffc3
1 changed files with 1 additions and 0 deletions
|
@ -509,6 +509,7 @@ QString uiLanguage(QLocale *callerLoc)
|
|||
uiLang = languages[2];
|
||||
else
|
||||
uiLang = languages[0];
|
||||
prefs.locale.lang_locale = copy_string(qPrintable(uiLang));
|
||||
GET_BOOL("time_format_override", time_format_override);
|
||||
GET_BOOL("date_format_override", date_format_override);
|
||||
GET_TXT("time_format", time_format);
|
||||
|
|
Loading…
Add table
Reference in a new issue