Skip to content
Permalink
Browse files

fix fetching of redirected wms capabilities (followup e95bf6d)

  • Loading branch information
jef-n committed Oct 28, 2015
1 parent 406db65 commit 6a4544fc4cf7b4d3952d6109682af29db39dde7d
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/providers/wms/qgswmscapabilities.cpp
@@ -2018,8 +2018,13 @@ void QgsWmsCapabilitiesDownload::capabilitiesReplyFinished()
request.setAttribute( QNetworkRequest::CacheSaveControlAttribute, true );

mCapabilitiesReply->deleteLater();
mCapabilitiesReply = 0;

QgsDebugMsg( QString( "redirected getcapabilities: %1" ).arg( redirect.toString() ) );
//mCapabilitiesReply = QgsNetworkAccessManager::instance()->get( request );
connect( QgsNetworkAccessManager::instance(),
SIGNAL( requestSent( QNetworkReply *, QObject * ) ),
SLOT( requestSent( QNetworkReply *, QObject * ) ) );
emit sendRequest( request );
return;
}

0 comments on commit 6a4544f

Please sign in to comment.
You can’t perform that action at this time.