From adaaaaf32be802ce8dbc1d336a94dde24abecef3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 28 Jan 2016 18:28:44 -0800 Subject: Use our own sort proxy model class Signed-off-by: Dirk Hohndel --- subsurface-mobile-helper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3-70-g09d2