mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Mobile: setup CollapsedDiveListSortModel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6095a5f04f
commit
c759157331
2 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue