summaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 18:28:44 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-28 18:33:22 -0800
commitadaaaaf32be802ce8dbc1d336a94dde24abecef3 (patch)
treed045bf760e5eac6c0922be679413233c5ed480cb /subsurface-mobile-helper.cpp
parentaf9f07626a010b78289d68c7b4d388bdeeec9fa4 (diff)
downloadsubsurface-adaaaaf32be802ce8dbc1d336a94dde24abecef3.tar.gz
Use our own sort proxy model class
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index 4956a112d..f6c669438 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -47,7 +47,7 @@ void run_ui()
#endif
engine.addImportPath("qrc://imports");
DiveListModel diveListModel;
- QSortFilterProxyModel *sortModel = new QSortFilterProxyModel(0);
+ DiveListSortModel *sortModel = new DiveListSortModel(0);
sortModel->setSourceModel(&diveListModel);
sortModel->setDynamicSortFilter(true);
sortModel->setSortRole(DiveListModel::DiveDateRole);