Skip to content

Commit acdaaa4

Browse files
committedMay 25, 2020
proxies
1 parent b35a2df commit acdaaa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/core/qgsgdalutils.cpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,10 +503,10 @@ void QgsGdalUtils::setupProxy()
503503
if ( settings.value( QStringLiteral( "proxy/proxyEnabled" ), false ).toBool() )
504504
{
505505
// Get the first configured proxy
506-
QList<QNetworkProxy> proxyes( QgsNetworkAccessManager::instance()->proxyFactory()->queryProxy( ) );
507-
if ( ! proxyes.isEmpty() )
506+
QList<QNetworkProxy> proxies( QgsNetworkAccessManager::instance()->proxyFactory()->queryProxy( ) );
507+
if ( ! proxies.isEmpty() )
508508
{
509-
QNetworkProxy proxy( proxyes.first() );
509+
QNetworkProxy proxy( proxies.first() );
510510
// TODO/FIXME: check excludes (the GDAL config options are global, we need a per-connection config option)
511511
//QStringList excludes;
512512
//excludes = settings.value( QStringLiteral( "proxy/proxyExcludedUrls" ), "" ).toStringList();

0 commit comments

Comments
 (0)
Please sign in to comment.