diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-07 11:25:12 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-07 11:25:12 -0800 |
commit | dab207a8c84ca0621a8a3cabd0b911e60347537d (patch) | |
tree | 155e1aec76d3e1b6494d76ec92579780ba4ab331 | |
parent | aaac2cbe9c031a64a100b169b836fe6afdcffab2 (diff) | |
download | subsurface-dab207a8c84ca0621a8a3cabd0b911e60347537d.tar.gz |
Subsurface-mobile: load preferences after org is set up
The persistent storage of the preferences includes the Organization name
set in the application. So we need to make sure we load the preferences
AFTER setting up the Organization in the init_ui() call.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-mobile-main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index e58d32cea..4877f7e7e 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -52,11 +52,11 @@ int main(int argc, char **argv) #endif setup_system_prefs(); prefs = default_prefs; - loadPreferences(); fill_profile_color(); parse_xml_init(); taglist_init_global(); init_ui(); + loadPreferences(); if (no_filenames) { if (prefs.default_file_behavior == LOCAL_DEFAULT_FILE) { QString defaultFile(prefs.default_filename); |