Skip to content

Commit bfd846a

Browse files
committedMay 16, 2012
fix last commit - not my day - sorry
1 parent 3a252fc commit bfd846a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎src/providers/wms/qgswmsprovider.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2936,7 +2936,7 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
29362936
++layers, ++styles )
29372937
{
29382938
// Is sublayer visible?
2939-
if ( !mActiveSubLayerVisibility.find( *layers ).value() )
2939+
if ( !activeSubLayerVisibility.find( *layers ).value() )
29402940
continue;
29412941

29422942
// Is sublayer queryable?
@@ -2950,12 +2950,12 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
29502950
setQueryItem( requestUrl, "VERSION", mCapabilities.version );
29512951
setQueryItem( requestUrl, "REQUEST", "GetFeatureInfo" );
29522952
setQueryItem( requestUrl, "BBOX", bbox );
2953-
setQueryItem( requestUrl, crsKey, mImageCrs );
2954-
setQueryItem( requestUrl, "WIDTH", QString::number( mCachedViewWidth ) );
2955-
setQueryItem( requestUrl, "HEIGHT", QString::number( mCachedViewHeight ) );
2953+
setQueryItem( requestUrl, crsKey, imageCrs );
2954+
setQueryItem( requestUrl, "WIDTH", QString::number( cachedViewWidth ) );
2955+
setQueryItem( requestUrl, "HEIGHT", QString::number( cachedViewHeight ) );
29562956
setQueryItem( requestUrl, "LAYERS", *layers );
29572957
setQueryItem( requestUrl, "STYLES", *styles );
2958-
setQueryItem( requestUrl, "FORMAT", mImageMimeType );
2958+
setQueryItem( requestUrl, "FORMAT", imageMimeType );
29592959
setQueryItem( requestUrl, "QUERY_LAYERS", *layers );
29602960
setQueryItem( requestUrl, "INFO_FORMAT", format );
29612961

0 commit comments

Comments
 (0)
Please sign in to comment.