mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
Merge pull request #5658 from pblottiere/qurl_obsolete
[server] Fix obsolete QUrl method
This commit is contained in:
commit
58bfbd51cc
@ -1154,7 +1154,7 @@ namespace QgsWms
|
||||
layerName = currentLayer->id();
|
||||
else if ( !currentLayer->shortName().isEmpty() )
|
||||
layerName = currentLayer->shortName();
|
||||
QUrl mapUrl( hrefString );
|
||||
QUrlQuery mapUrl( hrefString );
|
||||
mapUrl.addQueryItem( QStringLiteral( "SERVICE" ), QStringLiteral( "WMS" ) );
|
||||
mapUrl.addQueryItem( QStringLiteral( "VERSION" ), version );
|
||||
mapUrl.addQueryItem( QStringLiteral( "REQUEST" ), QStringLiteral( "GetLegendGraphic" ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user