mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
6584cd82d5
commit
14931db0a9
3 changed files with 0 additions and 40 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue