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>
This commit is contained in:
parent
aaac2cbe9c
commit
dab207a8c8
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user