From dab207a8c84ca0621a8a3cabd0b911e60347537d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 7 Nov 2015 11:25:12 -0800 Subject: 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 --- subsurface-mobile-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2