summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelistview.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-31 15:27:33 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-31 13:52:51 -0700
commitc68a94da6ade76a6ffe46c959c5b67446131aa72 (patch)
treefa0acd31531260076844e26ec97bad83b1753653 /qt-ui/divelistview.cpp
parent19ac1dfa0983b98d9cc2680e9553020d1c936bb9 (diff)
downloadsubsurface-c68a94da6ade76a6ffe46c959c5b67446131aa72.tar.gz
TagFilter -> MultiFilter
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r--qt-ui/divelistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp
index 6963958ac..98681197c 100644
--- a/qt-ui/divelistview.cpp
+++ b/qt-ui/divelistview.cpp
@@ -37,7 +37,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec
setItemDelegate(new DiveListDelegate(this));
setUniformRowHeights(true);
setItemDelegateForColumn(DiveTripModel::RATING, new StarWidgetsDelegate(this));
- TagFilterSortModel *model = TagFilterSortModel::instance();
+ MultiFilterSortModel *model = MultiFilterSortModel::instance();
model->setSortRole(DiveTripModel::SORT_ROLE);
model->setFilterKeyColumn(-1); // filter all columns
model->setFilterCaseSensitivity(Qt::CaseInsensitive);