mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue