diff options
author | Sergey Starosek <sergey.starosek@gmail.com> | 2014-01-09 20:50:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-01-10 16:12:50 +0700 |
commit | 6a0f05eacc509cd2d84b060fddbb55dc5aafa7fd (patch) | |
tree | 6f45defa36890120f50c9e5f55a0fdc148c3f546 /qt-ui/divelistview.cpp | |
parent | 7e7a1d29ad7800b6f3b763f9d230865cd1df441a (diff) | |
download | subsurface-6a0f05eacc509cd2d84b060fddbb55dc5aafa7fd.tar.gz |
Make divelist search case insensitive
Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelistview.cpp')
-rw-r--r-- | qt-ui/divelistview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/divelistview.cpp b/qt-ui/divelistview.cpp index d6331e8e2..5a436f2a9 100644 --- a/qt-ui/divelistview.cpp +++ b/qt-ui/divelistview.cpp @@ -31,6 +31,7 @@ DiveListView::DiveListView(QWidget *parent) : QTreeView(parent), mouseClickSelec QSortFilterProxyModel *model = new QSortFilterProxyModel(this); model->setSortRole(DiveTripModel::SORT_ROLE); model->setFilterKeyColumn(-1); // filter all columns + model->setFilterCaseSensitivity(Qt::CaseInsensitive); setModel(model); connect(model, SIGNAL(layoutChanged()), this, SLOT(fixMessyQtModelBehaviour())); |