Skip to content

Commit

Permalink
WMS provider with Qt5 sends STYLES=& instead of STYLES&
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 29, 2016
1 parent ad8ee31 commit 631a7fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -501,7 +501,9 @@ QImage *QgsWmsProvider::draw( QgsRectangle const &viewExtent, int pixelWidth, in
} }


QString layers = visibleLayers.join( "," ); QString layers = visibleLayers.join( "," );
layers = layers.isNull() ? "" : layers;
QString styles = visibleStyles.join( "," ); QString styles = visibleStyles.join( "," );
styles = styles.isNull() ? "" : styles;


QgsDebugMsg( "Visible layer list of " + layers + " and style list of " + styles ); QgsDebugMsg( "Visible layer list of " + layers + " and style list of " + styles );


Expand Down

0 comments on commit 631a7fd

Please sign in to comment.