Skip to content
Permalink
Browse files

proxies

  • Loading branch information
mhugent committed May 25, 2020
1 parent b35a2df commit acdaaa4302ffb470d6f8937100462960a9dfb1be
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/core/qgsgdalutils.cpp
@@ -503,10 +503,10 @@ void QgsGdalUtils::setupProxy()
if ( settings.value( QStringLiteral( "proxy/proxyEnabled" ), false ).toBool() )
{
// Get the first configured proxy
QList<QNetworkProxy> proxyes( QgsNetworkAccessManager::instance()->proxyFactory()->queryProxy( ) );
if ( ! proxyes.isEmpty() )
QList<QNetworkProxy> proxies( QgsNetworkAccessManager::instance()->proxyFactory()->queryProxy( ) );
if ( ! proxies.isEmpty() )
{
QNetworkProxy proxy( proxyes.first() );
QNetworkProxy proxy( proxies.first() );
// TODO/FIXME: check excludes (the GDAL config options are global, we need a per-connection config option)
//QStringList excludes;
//excludes = settings.value( QStringLiteral( "proxy/proxyExcludedUrls" ), "" ).toStringList();

0 comments on commit acdaaa4

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