mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
[OGR provider] Do not list qgis_projects (from QgisGeoPackage plugin) as sublayer
This commit is contained in:
parent
11e5283591
commit
e67a47b9ab
@ -682,9 +682,11 @@ QStringList QgsOgrProvider::subLayers() const
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( !mIsSubLayer && theLayerName == "layer_styles" )
|
||||
if ( !mIsSubLayer && ( theLayerName == QLatin1String( "layer_styles" ) ||
|
||||
theLayerName == QLatin1String( "qgis_projects" ) ) )
|
||||
{
|
||||
// Ignore layer_styles layer
|
||||
// Ignore layer_styles (coming from QGIS styling support) and
|
||||
// qgis_projects (coming from http://plugins.qgis.org/plugins/QgisGeopackage/)
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user