summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-07-11 12:09:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-07-12 08:08:00 -0700
commitab05fe3cf83526ea63764a6c6587735e8b959527 (patch)
treeb0556a7990142bda9c273d16efe5919e90a29342 /desktop-widgets
parent8cc0b6dbc14d26cd0fff14b7f0368b33433a0191 (diff)
downloadsubsurface-ab05fe3cf83526ea63764a6c6587735e8b959527.tar.gz
desktop-widget: move qmlRegister from mapwidget to shared helper
Remove qmlRegister in desktop-widgets/mapwidget in order to have a shared registration in subsurface-helper.cpp Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/mapwidget.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-widgets/mapwidget.cpp b/desktop-widgets/mapwidget.cpp
index 6d9cd867d..917b1b2c7 100644
--- a/desktop-widgets/mapwidget.cpp
+++ b/desktop-widgets/mapwidget.cpp
@@ -23,10 +23,6 @@ MapWidget *MapWidget::m_instance = NULL;
MapWidget::MapWidget(QWidget *parent) : QQuickWidget(parent)
{
- qmlRegisterType<MapWidgetHelper>("org.subsurfacedivelog.mobile", 1, 0, "MapWidgetHelper");
- qmlRegisterType<MapLocationModel>("org.subsurfacedivelog.mobile", 1, 0, "MapLocationModel");
- qmlRegisterType<MapLocation>("org.subsurfacedivelog.mobile", 1, 0, "MapLocation");
-
m_rootItem = Q_NULLPTR;
m_mapHelper = Q_NULLPTR;
setResizeMode(QQuickWidget::SizeRootObjectToView);