mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	startup mobile: make ExportType enum available to QML
Register ExportType before starting QML. Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
		
							parent
							
								
									27ce89a6e5
								
							
						
					
					
						commit
						d88ccf3221
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -111,6 +111,8 @@ void run_ui() | |||
| 	ctxt->setContextProperty("connectionListModel", &connectionListModel); | ||||
| 	ctxt->setContextProperty("logModel", MessageHandlerModel::self()); | ||||
| 
 | ||||
| 	qmlRegisterUncreatableType<QMLManager>("org.subsurfacedivelog.mobile",1,0,"ExportType","Enum is not a type"); | ||||
| 
 | ||||
| #ifdef SUBSURFACE_MOBILE_DESKTOP | ||||
| 	if (testqml) { | ||||
| 		QString fileLoad(testqml); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue