Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix build
  • Loading branch information
wonder-sk committed Nov 14, 2016
1 parent 645514a commit 8898c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgswmsserver.cpp
Expand Up @@ -819,7 +819,7 @@ QImage* QgsWmsServer::getLegendGraphics()
layerNameMap.insert( layerId, ml->name() );
// set layer name with layer's title to have it in legend
if ( !ml->title().isEmpty() )
layer->setLayerName( ml->title() );
layer->setName( ml->title() );
// set show feature count
if ( showFeatureCount )
layer->setCustomProperty( QStringLiteral( "showFeatureCount" ), showFeatureCount );
Expand Down

0 comments on commit 8898c94

Please sign in to comment.