mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
fix build with Qt < 5.14
This commit is contained in:
parent
9488f06025
commit
baa7f51e37
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user