[QGIS Commit] r15653 - trunk/qgis/src/providers/wms
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Thu Mar 31 10:49:39 EDT 2011
Author: rblazek
Date: 2011-03-31 07:49:39 -0700 (Thu, 31 Mar 2011)
New Revision: 15653
Modified:
trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
setAuthorization for GetFeatureInfo
Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2011-03-31 12:23:53 UTC (rev 15652)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2011-03-31 14:49:39 UTC (rev 15653)
@@ -2741,7 +2741,9 @@
// 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 )
More information about the QGIS-commit
mailing list