Skip to content
Permalink
Browse files

fix fetching of redirected wms capabilities (followup e95bf6d)

(cherry picked from commit 6a4544f)
  • Loading branch information
jef-n committed Oct 28, 2015
1 parent 3573372 commit 42e9dbebb6999308647eb1f2185757562f9d62ec
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 42e9dbe

Please sign in to comment.