Skip to content

Commit

Permalink
Fix #10468 (WMS GetLegendGraphic support)
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jun 5, 2014
1 parent 7ef0641 commit 2ff1d32
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 0 additions & 5 deletions src/providers/wms/qgswmsprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 2ff1d32

Please sign in to comment.