Skip to content
Permalink
Browse files

Fix #10468 (WMS GetLegendGraphic support)

  • Loading branch information
wonder-sk committed Jun 5, 2014
1 parent 7ef0641 commit 2ff1d324007042e50e70becc21bf68df6cacc979
Showing with 1 addition and 6 deletions.
  1. +1 −1 src/providers/wms/qgswmsprovider.cpp
  2. +0 −5 src/providers/wms/qgswmsprovider.h
@@ -240,7 +240,7 @@ QString QgsWmsProvider::getLegendGraphicUrl() const
{
const QgsWmsLegendUrlProperty &l = s.legendUrl[k];

if ( l.format != mImageMimeType )
if ( l.format != mSettings.mImageMimeType )
continue;

url = l.onlineResource.xlinkHref;
@@ -405,11 +405,6 @@ class QgsWmsProvider : public QgsRasterDataProvider
*/
QMap<QString, bool> mActiveSubLayerVisibility;

/**
* MIME type of the image encoding used from the WMS server
*/
QString mImageMimeType;

/**
* WMS CRS type of the image CRS used from the WMS server
*/

0 comments on commit 2ff1d32

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