diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-09-20 12:40:30 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-09-20 12:40:30 -0700 |
commit | 5fdbc1ffc3c7b161e96e45e2a393eaf7b3bf853f (patch) | |
tree | b6f9791b9ad6652354f8741b75747a756a629f7f /core | |
parent | 743f73e4a3c9e306b3c03d73b1d8cd3b7310d400 (diff) | |
download | subsurface-5fdbc1ffc3c7b161e96e45e2a393eaf7b3bf853f.tar.gz |
Language preference: once we figure out the locale, remember it
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core')
-rw-r--r-- | core/qthelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qthelper.cpp b/core/qthelper.cpp index 282b0d1b1..ce7bc3e65 100644 --- a/core/qthelper.cpp +++ b/core/qthelper.cpp @@ -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); |