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>
This commit is contained in:
jan Iversen 2020-01-23 16:20:27 +01:00 committed by Dirk Hohndel
parent 6584cd82d5
commit 14931db0a9
3 changed files with 0 additions and 40 deletions

View file

@ -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);
}