mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Language Settings Wrapper
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
15fece7da2
commit
c3137cf07c
4 changed files with 143 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue