Skip to content

Commit dc489df

Browse files
committedJul 16, 2013
Include system proxies
1 parent ab6a232 commit dc489df

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/core/qgsnetworkaccessmanager.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ class QgsNetworkProxyFactory : public QNetworkProxyFactory
4242
// iterate proxies factories and take first non empty list
4343
foreach ( QNetworkProxyFactory *f, nam->proxyFactories() )
4444
{
45+
QList<QNetworkProxy> systemproxies = f->systemProxyForQuery( query );
46+
if ( systemproxies.size() > 0 )
47+
return systemproxies;
48+
4549
QList<QNetworkProxy> proxies = f->queryProxy( query );
4650
if ( proxies.size() > 0 )
4751
return proxies;

0 commit comments

Comments
 (0)
Please sign in to comment.