Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.