From c3137cf07c6947b162d3fae9cb580fe1efc78ec7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Fri, 22 Jan 2016 16:55:03 -0200 Subject: Language Settings Wrapper Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- subsurface-core/qthelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'subsurface-core/qthelper.cpp') 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; -- cgit v1.2.3-70-g09d2