Skip to content

Commit

Permalink
fixed compilation with Qt4.3
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10023 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Jan 26, 2009
1 parent 6100c66 commit b60e737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgshttptransaction.cpp
Expand Up @@ -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;
Expand All @@ -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;
}
Expand Down

0 comments on commit b60e737

Please sign in to comment.