Merge pull request #637 from srazi/master

Fixed history case sensitive search.
remotes/origin/falkon
David Rosca 14 years ago
commit 2a2beaa2ae
  1. 4
      src/lib/history/historymodel.cpp

@ -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…
Cancel
Save