UI/UserInterface.py

branch
maintenance
changeset 5730
6422afc7adc4
parent 5680
b93cb6353cc0
parent 5720
fc72c0c81a0f
child 5752
1860eca908e4
--- a/UI/UserInterface.py	Sun Apr 09 16:52:55 2017 +0200
+++ b/UI/UserInterface.py	Sat May 06 13:43:21 2017 +0200
@@ -210,6 +210,8 @@
         
         self.__proxyFactory = E5NetworkProxyFactory()
         QNetworkProxyFactory.setApplicationProxyFactory(self.__proxyFactory)
+        QNetworkProxyFactory.setUseSystemConfiguration(
+            Preferences.getUI("UseSystemProxy"))
         
         self.capProject = ""
         self.capEditor = ""
@@ -5525,6 +5527,9 @@
             self.bottomSidebar.setDelay(delay)
             self.rightSidebar.setDelay(delay)
         
+        QNetworkProxyFactory.setUseSystemConfiguration(
+            Preferences.getUI("UseSystemProxy"))
+        
         from HexEdit.HexEditMainWindow import HexEditMainWindow
         for hexEditor in HexEditMainWindow.windows:
             hexEditor.preferencesChanged()

eric ide

mercurial