From 14931db0a9ca53956afdb162f8818a5ed61060a4 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Thu, 23 Jan 2020 16:20:27 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface-helper.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'subsurface-helper.cpp') 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); } -- cgit v1.2.3-70-g09d2