Skip to content

Commit

Permalink
Fix #17573 inconsistency of icons in layer trees
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde authored and nyalldawson committed Nov 28, 2017
1 parent d90b50f commit 2a960c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/providers/wcs/qgswcsdataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
4 changes: 2 additions & 2 deletions src/providers/wfs/qgswfsdataitems.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" ) );
}

Expand Down Expand Up @@ -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;
}

Expand Down

0 comments on commit 2a960c5

Please sign in to comment.