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:
commit
2a2beaa2ae
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user