case insensitive filter expressions

svn path=/trunk/KDE/kdebase/runtime/; revision=1191022
This commit is contained in:
Marco Martin 2010-10-29 12:27:38 +00:00
parent 0394675156
commit 7e0e77b970

View File

@ -74,7 +74,7 @@ void SortFilterModel::setModel(QObject *source)
void SortFilterModel::setFilterRegExp(const QString &exp)
{
QSortFilterProxyModel::setFilterRegExp(QRegExp(exp));
QSortFilterProxyModel::setFilterRegExp(QRegExp(exp, Qt::CaseInsensitive));
}
QString SortFilterModel::filterRegExp() const