Skip to content
Permalink
Browse files
setAuthorization for GetFeatureInfo
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15653 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 31, 2011
1 parent 279a1f5 commit 391be8e576e0e8369f46db0ad91a7b07a7241a38
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/providers/wms/qgswmsprovider.cpp
@@ -2741,7 +2741,9 @@ QStringList QgsWmsProvider::identifyAs( const QgsPoint& point, QString format )
// requestUrl += QString( "&I=%1&J=%2" ).arg( point.x() ).arg( point.y() );

QgsDebugMsg( QString( "getfeatureinfo: %1" ).arg( requestUrl ) );
mIdentifyReply = QgsNetworkAccessManager::instance()->get( QNetworkRequest( requestUrl ) );
QNetworkRequest request( requestUrl );
setAuthorization( request );
mIdentifyReply = QgsNetworkAccessManager::instance()->get( request );
connect( mIdentifyReply, SIGNAL( finished() ), this, SLOT( identifyReplyFinished() ) );

while ( mIdentifyReply )

0 comments on commit 391be8e

Please sign in to comment.