Skip to content
Permalink
Browse files

Re-enable recursive WMS layers

  • Loading branch information
wonder-sk committed May 20, 2011
1 parent 34361ae commit 62db3d7dac96fe6cb3bcbded1cebba8381e0fda2
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/providers/wms/qgswmsprovider.cpp
@@ -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 )
{

0 comments on commit 62db3d7

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