1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Fixed history case sensitive search.

This commit is contained in:
S. Razi Alavizadeh 2012-11-19 17:34:25 +03:30
parent ed74c773b3
commit 02a7742cc6

View File

@ -555,6 +555,6 @@ bool HistoryFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sour
return true;
}
return (index.data(HistoryModel::UrlStringRole).toString().contains(m_pattern) ||
index.data(HistoryModel::TitleRole).toString().contains(m_pattern));
return (index.data(HistoryModel::UrlStringRole).toString().contains(m_pattern, Qt::CaseInsensitive) ||
index.data(HistoryModel::TitleRole).toString().contains(m_pattern, Qt::CaseInsensitive));
}