Don't use deprecated filterRegExp

pull/1063/head
Nicolas Werner 3 years ago
parent a8a3df23ab
commit 8c66945be9
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/MemberList.cpp

@ -161,6 +161,6 @@ MemberList::sortBy(const MemberSortRoles role)
bool
MemberList::filterAcceptsRow(int source_row, const QModelIndex &) const
{
return m_model.m_memberList[source_row].first.user_id.contains(filterRegExp()) ||
m_model.m_memberList[source_row].first.display_name.contains(filterRegExp());
return m_model.m_memberList[source_row].first.user_id.contains(filterRegularExpression()) ||
m_model.m_memberList[source_row].first.display_name.contains(filterRegularExpression());
}

Loading…
Cancel
Save