Skip to content

Commit

Permalink
No need to set limit with setFilterFid
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 8, 2017
1 parent eb8eb59 commit 89a06f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/core/expression/qgsexpressionfunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3325,7 +3325,6 @@ static QVariant fcnGetFeatureById( const QVariantList &values, const QgsExpressi

QgsFeatureRequest req;
req.setFilterFid( fid );
req.setLimit( 1 );
QgsFeatureIterator fIt = vl->getFeatures( req );

QgsFeature fet;
Expand Down

0 comments on commit 89a06f6

Please sign in to comment.