Skip to content

Commit

Permalink
fix build with Qt < 5.14
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 30, 2020
1 parent 9488f06 commit baa7f51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsfeaturefiltermodel.cpp
Expand Up @@ -67,7 +67,11 @@ void QgsFeatureFilterModel::requestToReloadCurrentFeature( QgsFeatureRequest &re

QSet<QString> QgsFeatureFilterModel::requestedAttributes() const
{
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
return mIdentifierFields.toSet();
#else
return QSet<QString>( mIdentifierFields.begin(), mIdentifierFields.end() );
#endif
}

QVariant QgsFeatureFilterModel::entryIdentifier( const QgsFeatureExpressionValuesGatherer::Entry &entry ) const
Expand Down

0 comments on commit baa7f51

Please sign in to comment.