Skip to content

Commit

Permalink
Re-enable recursive WMS layers
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed May 20, 2011
1 parent 34361ae commit 62db3d7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -3113,17 +3113,14 @@ QgsWMSLayerItem::QgsWMSLayerItem ( QgsDataItem* parent, QString name, QString pa
{
mUri = createUri();
// Populate everything, it costs nothing, all info about layers is collected
/*
// TODO
foreach ( QgsWmsLayerProperty layerProperty, mLayerProperty.layer )
{
// Attention, the name may be empty
QgsDebugMsg( QString::number(layerProperty.orderId ) + " " + layerProperty.name + " " + layerProperty.title );
QString pathName = layerProperty.name.isEmpty() ? QString::number(layerProperty.orderId ) : layerProperty.name;
QgsWMSLayerItem * layer = new QgsWMSLayerItem ( this, layerProperty.title, mPath+"/" + pathName, mCapabilitiesProperty, mConnInfo, layerProperty );
addChild ( layer );
mChildren.append( layer );
}
*/

if ( mChildren.size() == 0 )
{
Expand Down

0 comments on commit 62db3d7

Please sign in to comment.