Skip to content

Commit 6b15361

Browse files
committed
Avoid warning on Travis build
1 parent b39e6d1 commit 6b15361

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/providers/wms/qgswmscapabilities.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2066,8 +2066,10 @@ void QgsWmsCapabilitiesDownload::capabilitiesReplyFinished()
20662066
QgsDebugMsg( "No cache for capabilites!" );
20672067
}
20682068

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

20722074
mHttpCapabilitiesResponse = mCapabilitiesReply->readAll();
20732075

0 commit comments

Comments
 (0)