diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 18:28:44 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-28 18:33:22 -0800 |
commit | adaaaaf32be802ce8dbc1d336a94dde24abecef3 (patch) | |
tree | d045bf760e5eac6c0922be679413233c5ed480cb /subsurface-mobile-helper.cpp | |
parent | af9f07626a010b78289d68c7b4d388bdeeec9fa4 (diff) | |
download | subsurface-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.cpp | 2 |
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); |