Skip to content

Commit

Permalink
Fix rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 3, 2018
1 parent 16706bb commit f893192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/expression/qgsexpressionfunction.cpp
Expand Up @@ -3570,7 +3570,7 @@ static QVariant fcnGetFeatureById( const QVariantList &values, const QgsExpressi
QgsFeatureRequest req;
req.setFilterFid( fid );
req.setConnectionTimeout( 10000 );
req.setFreeConnectionsRequirement( 1 );
req.setRequestMayBeNested( true );
QgsFeatureIterator fIt = vl->getFeatures( req );

QgsFeature fet;
Expand Down Expand Up @@ -3612,7 +3612,7 @@ static QVariant fcnGetFeature( const QVariantList &values, const QgsExpressionCo
QgsExpression::quotedString( attVal.toString() ) ) );
req.setLimit( 1 );
req.setConnectionTimeout( 10000 );
req.setFreeConnectionsRequirement( 1 );
req.setRequestMayBeNested( true );
if ( !parent->needsGeometry() )
{
req.setFlags( QgsFeatureRequest::NoGeometry );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeaturerequest.cpp
Expand Up @@ -86,7 +86,7 @@ QgsFeatureRequest &QgsFeatureRequest::operator=( const QgsFeatureRequest &rh )
mCrs = rh.mCrs;
mTransformErrorCallback = rh.mTransformErrorCallback;
mConnectionTimeout = rh.mConnectionTimeout;
mFreeConnectionsRequirement = rh.mFreeConnectionsRequirement;
mRequestMayBeNested = rh.mRequestMayBeNested;
return *this;
}

Expand Down

0 comments on commit f893192

Please sign in to comment.