Skip to content

Commit

Permalink
proxies
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed May 25, 2020
1 parent b35a2df commit acdaaa4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgsgdalutils.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit acdaaa4

Please sign in to comment.