summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-29 12:40:03 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-29 12:20:19 -0800
commit8bc7bef0652221cc74a1ba7926c09db3484108ea (patch)
tree9ee3805d98b3f17229b8cd7f732e712a8e73912c
parente268af0d9f40553faf1f8fe6205e3b4106eed6e3 (diff)
downloadsubsurface-8bc7bef0652221cc74a1ba7926c09db3484108ea.tar.gz
QML: remove registration of qmlprefs
It is no longer used. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-helper.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 136aee4d4..713390c79 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -14,7 +14,6 @@
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include "mobile-widgets/qmlmanager.h"
-#include "mobile-widgets/qmlprefs.h"
#include "qt-models/divelistmodel.h"
#include "qt-models/gpslistmodel.h"
#include "qt-models/messagehandlermodel.h"
@@ -192,7 +191,6 @@ void register_qml_types(QQmlEngine *engine)
}
REGISTER_TYPE(QMLManager, "QMLManager");
- REGISTER_TYPE(QMLPrefs, "QMLPrefs");
REGISTER_TYPE(QMLProfile, "QMLProfile");
REGISTER_TYPE(DiveImportedModel, "DCImportModel");
#endif // not SUBSURFACE_MOBILE