Skip to content
Permalink
Browse files

Fix #17573 inconsistency of icons in layer trees

  • Loading branch information
rduivenvoorde authored and nyalldawson committed Nov 28, 2017
1 parent d90b50f commit 2a960c5ec17db060547a15116520e9c6000db818
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/providers/wcs/qgswcsdataitems.cpp
  2. +2 −2 src/providers/wfs/qgswfsdataitems.cpp
@@ -31,7 +31,7 @@ QgsWCSConnectionItem::QgsWCSConnectionItem( QgsDataItem *parent, QString name, Q
: QgsDataCollectionItem( parent, name, path )
, mUri( uri )
{
mIconName = QStringLiteral( "mIconWcs.svg" );
mIconName = QStringLiteral( "mIconConnect.png" );
mCapabilities |= Collapse;
}

@@ -48,7 +48,7 @@ QgsWfsLayerItem::QgsWfsLayerItem( QgsDataItem *parent, QString name, const QgsDa
bool useCurrentViewExtent = settings.value( QStringLiteral( "Windows/WFSSourceSelect/FeatureCurrentViewExtent" ), true ).toBool();
mUri = QgsWFSDataSourceURI::build( uri.uri( false ), featureType, crsString, QString(), useCurrentViewExtent );
setState( Populated );
mIconName = QStringLiteral( "mIconConnect.png" );
mIconName = QStringLiteral( "mIconWfs.svg" );
mBaseUri = uri.param( QStringLiteral( "url" ) );
}

@@ -137,7 +137,7 @@ QgsWfsConnectionItem::QgsWfsConnectionItem( QgsDataItem *parent, QString name, Q
: QgsDataCollectionItem( parent, name, path )
, mUri( uri )
{
mIconName = QStringLiteral( "mIconWfs.svg" );
mIconName = QStringLiteral( "mIconConnect.png" );
mCapabilities |= Collapse;
}

0 comments on commit 2a960c5

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