diff --git a/src/lib/history/historymodel.cpp b/src/lib/history/historymodel.cpp index 0ce0ed010..6eaac6c40 100644 --- a/src/lib/history/historymodel.cpp +++ b/src/lib/history/historymodel.cpp @@ -531,6 +531,6 @@ bool HistoryFilterModel::filterAcceptsRow(int sourceRow, const QModelIndex &sour return true; } - return (index.data(HistoryModel::UrlStringRole).toString().contains(filterRegExp()) || - index.data(HistoryModel::TitleRole).toString().contains(filterRegExp())); + return (index.data(HistoryModel::UrlStringRole).toString().contains(m_pattern) || + index.data(HistoryModel::TitleRole).toString().contains(m_pattern)); }