Skip to content
Permalink
Browse files

Fixes #17519 by fixing GetProjectSettings response

  • Loading branch information
pblottiere committed Nov 27, 2017
1 parent 9bfb3f3 commit d0ffaa7ccc3591f6876806bec7d42e58f2c10b17
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/services/wms/qgswmsgetcapabilities.cpp
@@ -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 );

0 comments on commit d0ffaa7

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