aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index fb997290b..d230eacb8 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -103,9 +103,8 @@ void run_ui()
gpsSortModel->setSortRole(GpsListModel::GpsWhenRole);
gpsSortModel->sort(0, Qt::DescendingOrder);
QQmlContext *ctxt = engine.rootContext();
- ctxt->setContextProperty("diveModel", DiveListSortModel::instance());
MobileListModel *mlm(MobileListModel::instance());
- ctxt->setContextProperty("mobileListModel", mlm);
+ ctxt->setContextProperty("diveModel", mlm);
ctxt->setContextProperty("gpsModel", gpsSortModel);
ctxt->setContextProperty("vendorList", vendorList);
set_non_bt_addresses();