Skip to content
Permalink
Browse files

Include system proxies

  • Loading branch information
NathanW2 committed Jul 16, 2013
1 parent ab6a232 commit dc489dfc7abdf33df946fc1a0eec9fa7c81ea019
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsnetworkaccessmanager.cpp
@@ -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;

0 comments on commit dc489df

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