[QGIS Commit] r10023 - trunk/qgis/src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Jan 26 14:09:52 EST 2009
Author: wonder
Date: 2009-01-26 14:09:51 -0500 (Mon, 26 Jan 2009)
New Revision: 10023
Modified:
trunk/qgis/src/core/qgshttptransaction.cpp
Log:
fixed compilation with Qt4.3
Modified: trunk/qgis/src/core/qgshttptransaction.cpp
===================================================================
--- trunk/qgis/src/core/qgshttptransaction.cpp 2009-01-26 16:37:50 UTC (rev 10022)
+++ trunk/qgis/src/core/qgshttptransaction.cpp 2009-01-26 19:09:51 UTC (rev 10023)
@@ -516,6 +516,7 @@
{
proxyType = QNetworkProxy::HttpProxy;
}
+#if QT_VERSION >= 0x040400
else if ( proxyTypeString == "HttpCachingProxy" )
{
proxyType = QNetworkProxy::HttpCachingProxy;
@@ -524,6 +525,7 @@
{
proxyType = QNetworkProxy::FtpCachingProxy;
}
+#endif
http.setProxy( QNetworkProxy( proxyType, proxyHost, proxyPort, proxyUser, proxyPassword ) );
return true;
}
More information about the QGIS-commit
mailing list