diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2016-01-22 16:55:03 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-24 21:26:45 -0800 |
commit | c3137cf07c6947b162d3fae9cb580fe1efc78ec7 (patch) | |
tree | 28b907481dd71effc0dbd266c8b920785565c062 /subsurface-core/qthelper.cpp | |
parent | 15fece7da2c8e9c78fe6c61dbcea0c0b0654b6a8 (diff) | |
download | subsurface-c3137cf07c6947b162d3fae9cb580fe1efc78ec7.tar.gz |
Language Settings Wrapper
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/qthelper.cpp')
-rw-r--r-- | subsurface-core/qthelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-core/qthelper.cpp b/subsurface-core/qthelper.cpp index 915f2636c..b8e168873 100644 --- a/subsurface-core/qthelper.cpp +++ b/subsurface-core/qthelper.cpp @@ -1273,6 +1273,7 @@ void loadPreferences() QSettings s; QVariant v; + uiLanguage(NULL); s.beginGroup("Units"); if (s.value("unit_system").toString() == "metric") { prefs.unit_system = METRIC; |