Skip to content

Commit f7c8688

Browse files
author
wonder
committedJan 26, 2009

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/core/qgshttptransaction.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ bool QgsHttpTransaction::applyProxySettings( QHttp& http, const QString& url )
516516
{
517517
proxyType = QNetworkProxy::HttpProxy;
518518
}
519+
#if QT_VERSION >= 0x040400
519520
else if ( proxyTypeString == "HttpCachingProxy" )
520521
{
521522
proxyType = QNetworkProxy::HttpCachingProxy;
@@ -524,6 +525,7 @@ bool QgsHttpTransaction::applyProxySettings( QHttp& http, const QString& url )
524525
{
525526
proxyType = QNetworkProxy::FtpCachingProxy;
526527
}
528+
#endif
527529
http.setProxy( QNetworkProxy( proxyType, proxyHost, proxyPort, proxyUser, proxyPassword ) );
528530
return true;
529531
}

0 commit comments

Comments
 (0)
Please sign in to comment.