Skip to content
Permalink
Browse files

fixed compilation with Qt4.3

git-svn-id: http://svn.osgeo.org/qgis/trunk@10023 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Jan 26, 2009
1 parent 6100c66 commit b60e7378095e5c6a35eddb22cb93cc3a0bf4cc5a
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 b60e737

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