Skip to content
Permalink
Browse files

fixed compilation with Qt4.3

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10023 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jan 26, 2009
1 parent e23e7d1 commit f7c86886cedad163e2c44e12d542f33441dc6ac6
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgshttptransaction.cpp
@@ -516,6 +516,7 @@ bool QgsHttpTransaction::applyProxySettings( QHttp& http, const QString& url )
{
proxyType = QNetworkProxy::HttpProxy;
}
#if QT_VERSION >= 0x040400
else if ( proxyTypeString == "HttpCachingProxy" )
{
proxyType = QNetworkProxy::HttpCachingProxy;
@@ -524,6 +525,7 @@ bool QgsHttpTransaction::applyProxySettings( QHttp& http, const QString& url )
{
proxyType = QNetworkProxy::FtpCachingProxy;
}
#endif
http.setProxy( QNetworkProxy( proxyType, proxyHost, proxyPort, proxyUser, proxyPassword ) );
return true;
}

0 comments on commit f7c8688

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