Skip to content
Permalink
Browse files

[qt6] QRegExp patch

  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 31, 2021
1 parent 19ef170 commit 82da1dcb3a15f8e7bfe11a99f1a1f039eac1cf51
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsdbfilterproxymodel.cpp
@@ -43,6 +43,10 @@ void QgsDatabaseFilterProxyModel::_setFilterWildcard( const QString &pattern )

void QgsDatabaseFilterProxyModel::_setFilterRegExp( const QString &pattern )
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
QSortFilterProxyModel::setFilterRegExp( pattern );
#else
QSortFilterProxyModel::setFilterRegularExpression( pattern );
#endif
emit layoutChanged();
}

0 comments on commit 82da1dc

Please sign in to comment.