diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-11-06 07:10:03 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-08 20:50:05 +0100 |
commit | c75915733183144c033358aa7583bdeb922e4313 (patch) | |
tree | 3462f5287b8477f922f425c77f73a68f237a7c20 /subsurface-helper.cpp | |
parent | 6095a5f04f204e786136eb203630f728a3df2983 (diff) | |
download | subsurface-c75915733183144c033358aa7583bdeb922e4313.tar.gz |
Mobile: setup CollapsedDiveListSortModel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r-- | subsurface-helper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp index 8e0469a27..0d9e29224 100644 --- a/subsurface-helper.cpp +++ b/subsurface-helper.cpp @@ -102,6 +102,7 @@ void run_ui() gpsSortModel->sort(0, Qt::DescendingOrder); QQmlContext *ctxt = engine.rootContext(); ctxt->setContextProperty("diveModel", DiveListSortModel::instance()); + ctxt->setContextProperty("diveTripModel", CollapsedDiveListSortModel::instance()); ctxt->setContextProperty("gpsModel", gpsSortModel); ctxt->setContextProperty("vendorList", vendorList); set_non_bt_addresses(); |