Skip to content
Permalink
Browse files

Fix rename variable

  • Loading branch information
m-kuhn committed Aug 8, 2018
1 parent e32e501 commit 7e70c41089422a5d784fda30571d134a5aceb17c
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/core/expression/qgsexpressionfunction.cpp
  2. +1 −1 src/core/qgsfeaturerequest.cpp
@@ -3528,7 +3528,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;
@@ -3570,7 +3570,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 );
@@ -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;
}

0 comments on commit 7e70c41

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