Skip to content

Commit

Permalink
Include system proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanW2 committed Jul 16, 2013
1 parent ab6a232 commit dc489df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsnetworkaccessmanager.cpp
Expand Up @@ -42,6 +42,10 @@ class QgsNetworkProxyFactory : public QNetworkProxyFactory
// iterate proxies factories and take first non empty list
foreach ( QNetworkProxyFactory *f, nam->proxyFactories() )
{
QList<QNetworkProxy> systemproxies = f->systemProxyForQuery( query );
if ( systemproxies.size() > 0 )
return systemproxies;

QList<QNetworkProxy> proxies = f->queryProxy( query );
if ( proxies.size() > 0 )
return proxies;
Expand Down

0 comments on commit dc489df

Please sign in to comment.