E5Network/E5NetworkProxyFactory.py

branch
5_0_x
changeset 320
340a978859c6
parent 318
e513e6d31858
child 792
a13346916170
--- a/E5Network/E5NetworkProxyFactory.py	Mon May 31 15:16:22 2010 +0200
+++ b/E5Network/E5NetworkProxyFactory.py	Mon May 31 15:36:45 2010 +0200
@@ -60,7 +60,9 @@
                 if proxyList:
                     proxyList[0].setUser(Preferences.getUI("ProxyUser"))
                     proxyList[0].setPassword(Preferences.getUI("ProxyPassword"))
-                return proxyList
+                    return proxyList
+                else:
+                    return [QNetworkProxy(QNetworkProxy.NoProxy)]
             else:
                 host = Preferences.getUI("ProxyHost")
                 if not host:

eric ide

mercurial