Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qt6] QRegExp patch
  • Loading branch information
m-kuhn authored and nyalldawson committed Mar 31, 2021
1 parent 19ef170 commit 82da1dc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsdbfilterproxymodel.cpp
Expand Up @@ -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.