[QGIS Commit] r15775 - trunk/qgis/src/providers/wms
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Wed Apr 20 03:40:13 EDT 2011
Author: jef
Date: 2011-04-20 00:40:13 -0700 (Wed, 20 Apr 2011)
New Revision: 15775
Modified:
trunk/qgis/src/providers/wms/qgswmsprovider.cpp
Log:
fix debug build for Qt <4.7
Modified: trunk/qgis/src/providers/wms/qgswmsprovider.cpp
===================================================================
--- trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2011-04-20 05:32:42 UTC (rev 15774)
+++ trunk/qgis/src/providers/wms/qgswmsprovider.cpp 2011-04-20 07:40:13 UTC (rev 15775)
@@ -724,8 +724,9 @@
mCacheHits++;
else
mCacheMisses++;
-
- QgsDebugMsgLevel( "headers:", 3 );
+#endif
+#if defined(QGISDEBUG) && (QT_VERSION >= 0x40700)
+ QgsDebugMsgLevel( "raw headers:", 3 );
foreach( const QNetworkReply::RawHeaderPair &pair, reply->rawHeaderPairs() )
{
QgsDebugMsgLevel( QString( " %1:%2" )
More information about the QGIS-commit
mailing list