summaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 06aaa47fa..fb997290b 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -20,6 +20,7 @@
#include "qt-models/divesummarymodel.h"
#include "qt-models/gpslistmodel.h"
#include "qt-models/messagehandlermodel.h"
+#include "qt-models/mobilelistmodel.h"
#include "profile-widget/qmlprofile.h"
#include "core/downloadfromdcthread.h"
#include "qt-models/diveimportedmodel.h"
@@ -103,7 +104,8 @@ void run_ui()
gpsSortModel->sort(0, Qt::DescendingOrder);
QQmlContext *ctxt = engine.rootContext();
ctxt->setContextProperty("diveModel", DiveListSortModel::instance());
- ctxt->setContextProperty("diveTripModel", CollapsedDiveListSortModel::instance());
+ MobileListModel *mlm(MobileListModel::instance());
+ ctxt->setContextProperty("mobileListModel", mlm);
ctxt->setContextProperty("gpsModel", gpsSortModel);
ctxt->setContextProperty("vendorList", vendorList);
set_non_bt_addresses();