Skip to content
Permalink
Browse files
Const
  • Loading branch information
nyalldawson committed Jun 28, 2021
1 parent 2de65c2 commit 6be7cc6e027b12432de4df4d532cad59b928a60e
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/providers/ogr/qgsogrproviderutils.cpp
@@ -2294,7 +2294,7 @@ bool QgsOgrProviderUtils::canDriverShareSameDatasetAmongLayers( const QString &d

QList< QgsProviderSublayerDetails > QgsOgrProviderUtils::querySubLayerList( int i, QgsOgrLayer *layer, const QString &driverName, Qgis::SublayerQueryFlags flags, bool isSubLayer, const QString &baseUri, bool hasSingleLayerOnly, QgsFeedback *feedback )
{
QString layerName = QString::fromUtf8( layer->name() );
const QString layerName = QString::fromUtf8( layer->name() );

if ( !isSubLayer && ( layerName == QLatin1String( "layer_styles" ) ||
layerName == QLatin1String( "qgis_projects" ) ) )

0 comments on commit 6be7cc6

Please sign in to comment.