Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
setAuthorization for GetFeatureInfo
git-svn-id: http://svn.osgeo.org/qgis/trunk@15653 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
rblazek committed Mar 31, 2011
1 parent ddccc15 commit 9e03cb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers/wms/qgswmsprovider.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 9e03cb3

Please sign in to comment.