Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #17519 by fixing GetProjectSettings response
  • Loading branch information
pblottiere committed Nov 27, 2017
1 parent 9bfb3f3 commit d0ffaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -653,7 +653,7 @@ namespace QgsWms
const QgsComposerMap *composerMap = *cmIt;

QDomElement composerMapElem = doc.createElement( QStringLiteral( "ComposerMap" ) );
composerMapElem.setAttribute( QStringLiteral( "name" ), QStringLiteral( "map%s" ).arg( composerMap->id() ) );
composerMapElem.setAttribute( QStringLiteral( "name" ), QStringLiteral( "map%1" ).arg( composerMap->id() ) );
composerMapElem.setAttribute( QStringLiteral( "width" ), composerMap->rect().width() );
composerMapElem.setAttribute( QStringLiteral( "height" ), composerMap->rect().height() );
composerTemplateElem.appendChild( composerMapElem );
Expand Down

0 comments on commit d0ffaa7

Please sign in to comment.