summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-16 16:24:19 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-16 16:24:19 (GMT)
commit1433a2c8682cb1c8f89ceaf97ad7a509ac686879 (patch)
treedc2e5de107f030c3b946219d8614c8b5d42454ff /src/network
parentbb3bfd01c1e8797a5a6c5ba553deca11c5ad246c (diff)
parente7a92a1b9ff31cf036982bee1221d7e7cb3aea6a (diff)
downloadQt-1433a2c8682cb1c8f89ceaf97ad7a509ac686879.zip
Qt-1433a2c8682cb1c8f89ceaf97ad7a509ac686879.tar.gz
Qt-1433a2c8682cb1c8f89ceaf97ad7a509ac686879.tar.bz2
Merge branch '4.5' into 4.6
Conflicts: src/gui/egl/qegl_symbian.cpp
Diffstat (limited to 'src/network')
-rw-r--r--src/network/kernel/qnetworkproxy_win.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/network/kernel/qnetworkproxy_win.cpp b/src/network/kernel/qnetworkproxy_win.cpp
index c3b89ed..6f92424 100644
--- a/src/network/kernel/qnetworkproxy_win.cpp
+++ b/src/network/kernel/qnetworkproxy_win.cpp
@@ -399,7 +399,12 @@ QList<QNetworkProxy> QNetworkProxyFactory::systemProxyForQuery(const QNetworkPro
if (isBypassed(query.peerHostName(), sp->proxyBypass))
return sp->defaultResult;
- return parseServerList(query, sp->proxyServerList);
+ QList<QNetworkProxy> result = parseServerList(query, sp->proxyServerList);
+ // In some cases, this was empty. See SF task 00062670
+ if (result.isEmpty())
+ return sp->defaultResult;
+
+ return result;
}
QT_END_NAMESPACE