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:
parent
ed74c773b3
commit
02a7742cc6
|
@ -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