Skycoder42
					
					7 years ago
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 8E01AD9EF0578D2B
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
4 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/mvvmcore/coreapp.cpp
				
 
			
		
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -41,11 +41,14 @@ void CoreApp::registerApp() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						qRegisterMetaType<QtMvvm::SettingsElements::Setup>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						registerInterfaceConverter<IPresenter>(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						//setup
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						setParent(qApp); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						CoreAppPrivate::instance = this; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						performRegistrations(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						//self-inject properties (after performRegistrations, as they might register an interface converter)
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						ServiceRegistry::instance()->injectServices(this); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
						if(CoreAppPrivate::bootEnabled) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
							QMetaObject::invokeMethod(this, "bootApp", Qt::QueuedConnection); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |