Skip to content

Commit

Permalink
Set transform context from layer options
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 27696e8 commit 9afa5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ QgsRasterLayer::QgsRasterLayer( const QString &uri,
QgsDebugMsgLevel( QStringLiteral( "Entered" ), 4 );
setProviderType( providerKey );

QgsDataProvider::ProviderOptions providerOptions;
QgsDataProvider::ProviderOptions providerOptions { options.transformContext };

setDataSource( uri, baseName, providerKey, providerOptions, options.loadDefaultStyle );

Expand Down

0 comments on commit 9afa5bb

Please sign in to comment.