Skip to content
Permalink
Browse files

Fix #10720

  • Loading branch information
mhugent authored and rldhont committed Jul 10, 2014
1 parent 86e350c commit e973c66aa09baa9c8147ef231b11c9d8eefa680c
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/mapserver/qgswmsprojectparser.cpp
@@ -168,8 +168,7 @@ QList<QgsMapLayer*> QgsWMSProjectParser::mapLayerFromStyle( const QString& lName
QHash< QString, QDomElement >::const_iterator pLayerNameIt = pLayerByName.find( lName );
if ( pLayerNameIt != pLayerByName.constEnd() )
{
pp.layerFromLegendLayer( pLayerNameIt.value(), layers, useCache );
break;
return ( QList<QgsMapLayer*>() << pp.createLayerFromElement( pLayerNameIt.value(), useCache ) );
}

const QList<QDomElement>& legendGroupElements = pp.legendGroupElements();

0 comments on commit e973c66

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