Skip to content
Permalink
Browse files

Avoid warning on Travis build

  • Loading branch information
nyalldawson committed Dec 7, 2015
1 parent b39e6d1 commit 6b15361bf1613b4d9c1365df10a57e3d81f974eb
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/providers/wms/qgswmscapabilities.cpp
@@ -2066,8 +2066,10 @@ void QgsWmsCapabilitiesDownload::capabilitiesReplyFinished()
QgsDebugMsg( "No cache for capabilites!" );
}

#ifdef QGISDEBUG
bool fromCache = mCapabilitiesReply->attribute( QNetworkRequest::SourceIsFromCacheAttribute ).toBool();
QgsDebugMsg( QString( "Capabilities reply was cached: %1" ).arg( fromCache ) );
#endif

mHttpCapabilitiesResponse = mCapabilitiesReply->readAll();

0 comments on commit 6b15361

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