Skip to content
Permalink
Browse files

fix build with Qt < 5.14

  • Loading branch information
3nids committed Apr 30, 2020
1 parent 9488f06 commit baa7f51e37700025803a79ad87af3b689de265aa
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsfeaturefiltermodel.cpp
@@ -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

0 comments on commit baa7f51

Please sign in to comment.
You can’t perform that action at this time.