mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-30 21:30:05 +00:00 
			
		
		
		
	County database must be loaded before settings
This commit is contained in:
		
							parent
							
								
									c970e73db8
								
							
						
					
					
						commit
						bdb859480f
					
				
					 2 changed files with 2 additions and 3 deletions
				
			
		|  | @ -1,5 +1,6 @@ | |||
| #define _SILENCE_STDEXT_ARR_ITERS_DEPRECATION_WARNING | ||||
| 
 | ||||
| #include <scwx/qt/config/county_database.hpp> | ||||
| #include <scwx/qt/config/radar_site.hpp> | ||||
| #include <scwx/qt/main/main_window.hpp> | ||||
| #include <scwx/qt/main/versions.hpp> | ||||
|  | @ -72,6 +73,7 @@ int main(int argc, char* argv[]) | |||
| 
 | ||||
|    // Initialize application
 | ||||
|    scwx::qt::config::RadarSite::Initialize(); | ||||
|    scwx::qt::config::CountyDatabase::Initialize(); | ||||
|    scwx::qt::manager::SettingsManager::Instance().Initialize(); | ||||
| 
 | ||||
|    // Theme
 | ||||
|  |  | |||
|  | @ -1,6 +1,5 @@ | |||
| #include <scwx/qt/manager/resource_manager.hpp> | ||||
| #include <scwx/qt/manager/font_manager.hpp> | ||||
| #include <scwx/qt/config/county_database.hpp> | ||||
| #include <scwx/qt/model/imgui_context_model.hpp> | ||||
| #include <scwx/qt/types/texture_types.hpp> | ||||
| #include <scwx/qt/util/texture_atlas.hpp> | ||||
|  | @ -33,8 +32,6 @@ static const std::vector<std::pair<types::Font, std::string>> fontNames_ { | |||
| 
 | ||||
| void Initialize() | ||||
| { | ||||
|    config::CountyDatabase::Initialize(); | ||||
| 
 | ||||
|    LoadFonts(); | ||||
|    LoadTextures(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat