Skip to content
Permalink
Browse files

Use transform context from rw context

  • Loading branch information
elpaso authored and nyalldawson committed Apr 15, 2019
1 parent ac04339 commit 86b7345ce5716fc9a9b9ecb5783eecc291493bb3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayer.cpp
@@ -1414,7 +1414,7 @@ bool QgsVectorLayer::readXml( const QDomNode &layer_node, QgsReadWriteContext &c
mProviderKey = QStringLiteral( "ogr" );
}

QgsDataProvider::ProviderOptions options; // { };
QgsDataProvider::ProviderOptions options { context.transformContext() };
if ( !setDataProvider( mProviderKey, options ) )
{
QgsDebugMsg( QStringLiteral( "Could not set data provider for layer %1" ).arg( publicSource() ) );

0 comments on commit 86b7345

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