summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index dc6f1855f..0ecc998ea 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -20,7 +20,6 @@
#include "qt-models/messagehandlermodel.h"
#include "profile-widget/qmlprofile.h"
#include "core/downloadfromdcthread.h"
-#include "backend-shared/plannershared.h"
#include "qt-models/diveimportedmodel.h"
#include "mobile-widgets/qml/kirigami/src/kirigamiplugin.h"
#else
@@ -184,12 +183,9 @@ void register_qml_types(QQmlEngine *engine)
int rc;
#ifdef SUBSURFACE_MOBILE
- // register shared diveplanner class
if (engine != NULL) {
QQmlContext *ct = engine->rootContext();
- ct->setContextProperty("Planner", plannerShared::instance());
-
// Register qml interface class
QMLInterface::setup(ct);
}