diff options
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r-- | subsurface-mobile-main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 279255ace..df25e81dc 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -10,6 +10,7 @@ #include "subsurfacestartup.h" #include "subsurface-core/color.h" #include "qthelper.h" +#include "helpers.h" #include <QStringList> #include <QApplication> @@ -52,6 +53,8 @@ int main(int argc, char **argv) git_libgit2_init(); #endif setup_system_prefs(); + if (uiLanguage(0).contains("-US")) + default_prefs.units = IMPERIAL_units; prefs = default_prefs; fill_profile_color(); parse_xml_init(); |