summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2020-01-23 16:20:27 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-01-25 17:26:33 -0800
commit14931db0a9ca53956afdb162f8818a5ed61060a4 (patch)
tree42408ef1891fa1fc2c200b3b08364454c8e86a71 /subsurface-helper.cpp
parent6584cd82d5ecbfb4a2b2097f15a8e481c05e0cd4 (diff)
downloadsubsurface-14931db0a9ca53956afdb162f8818a5ed61060a4.tar.gz
dive-planner: removed unused QML interface
Remove Q_PROPERTY and signals from plannershared, since they are no longer used (transferred to qmlinterface). Unregister object plannershared, since it is no longer used in QML. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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);
}