1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-19 18:26:34 +01:00

Merge pull request #637 from srazi/master

Fixed history case sensitive search.
This commit is contained in:
David Rosca 2012-11-19 06:42:44 -08:00
commit 2a2beaa2ae

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));
}