Skip to content
Permalink
Browse files

Set transform context from layer options

  • Loading branch information
elpaso authored and nyalldawson committed Apr 17, 2019
1 parent 27696e8 commit 9afa5bbba63f51e23923e9a7b2ab7f6feeba86b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
@@ -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 );

0 comments on commit 9afa5bb

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