summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subsurface-helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index b3266b656..2faedc30a 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -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);