Skip to content
Permalink
Browse files
Fix #10720
  • Loading branch information
mhugent committed Jul 10, 2014
1 parent 2d2340e commit 40d91457f6f069886c5ba1c28db1efb2ff4ccac7
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();

4 comments on commit 40d9145

@mdouchin

This comment has been minimized.

Copy link
Contributor

@mdouchin mdouchin replied Aug 29, 2014

Hi @mhugent I will like to see this bug fix backported to release-2_4 . Do you have time to do so, or shall I ask @rldhont ?

@mhugent

This comment has been minimized.

Copy link
Contributor Author

@mhugent mhugent replied Aug 29, 2014

Ask @rldhont (I think he can just cherry-pick to release-2_4).

@rldhont

This comment has been minimized.

Copy link
Contributor

@rldhont rldhont replied Aug 29, 2014

Done

@mdouchin

This comment has been minimized.

Copy link
Contributor

@mdouchin mdouchin replied Aug 29, 2014

thanks !

Please sign in to comment.