Skip to content

Commit 2d7de78

Browse files
author
jef
committed
fix debug build for Qt <4.7
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15775 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 2c735e5 commit 2d7de78

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/providers/wms/qgswmsprovider.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,9 @@ void QgsWmsProvider::tileReplyFinished()
724724
mCacheHits++;
725725
else
726726
mCacheMisses++;
727-
728-
QgsDebugMsgLevel( "headers:", 3 );
727+
#endif
728+
#if defined(QGISDEBUG) && (QT_VERSION >= 0x40700)
729+
QgsDebugMsgLevel( "raw headers:", 3 );
729730
foreach( const QNetworkReply::RawHeaderPair &pair, reply->rawHeaderPairs() )
730731
{
731732
QgsDebugMsgLevel( QString( " %1:%2" )

0 commit comments

Comments
 (0)