Skip to content

Commit

Permalink
Use options from provider ctor
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent bad0fe4 commit f5bc1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/arcgisrest/qgsafsprovider.cpp
Expand Up @@ -117,7 +117,7 @@ QgsAfsProvider::QgsAfsProvider( const QString &uri, const ProviderOptions &optio
if ( mSharedData->mExtent.isEmpty() )
{
mSharedData->mExtent = originalExtent;
mSharedData->mExtent = QgsCoordinateTransform( extentCrs, mSharedData->mSourceCRS, transformContext() ).transformBoundingBox( mSharedData->mExtent );
mSharedData->mExtent = QgsCoordinateTransform( extentCrs, mSharedData->mSourceCRS, options.transformContext ).transformBoundingBox( mSharedData->mExtent );
}

QString objectIdFieldName;
Expand Down

0 comments on commit f5bc1c7

Please sign in to comment.