aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Mardelle <[email protected]>2015-09-19 21:00:08 +0200
committerJean-Baptiste Mardelle <[email protected]>2015-09-19 21:00:08 +0200
commit128f89887d036c37dce76c9aba4d0ea4e6175e16 (patch)
treecc2523a4cf602e5ffb8eb4b7f9795745d4799945
parentf706e6373e2168fdbe0c4c57fb7581842419d27a (diff)
Make bin search case insensitive
-rw-r--r--src/bin/projectsortproxymodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/projectsortproxymodel.cpp b/src/bin/projectsortproxymodel.cpp
index 44d276e..fb45fa1 100644
--- a/src/bin/projectsortproxymodel.cpp
+++ b/src/bin/projectsortproxymodel.cpp
@@ -56,7 +56,7 @@ bool ProjectSortProxyModel::filterAcceptsRowItself(int sourceRow,
if (!index0.isValid()) {
return false;
}
- if (sourceModel()->data(index0).toString().contains(m_searchString)) return true;
+ if (sourceModel()->data(index0).toString().contains(m_searchString, Qt::CaseInsensitive)) return true;
}
return false;
}