E5Network/E5NetworkProxyFactory.py

changeset 537
72b32daeb8d6
parent 319
09f456ec6fcf
child 791
9ec2ac20e54e
diff -r 6d8d39753c82 -r 72b32daeb8d6 E5Network/E5NetworkProxyFactory.py
--- a/E5Network/E5NetworkProxyFactory.py	Mon Aug 30 20:16:34 2010 +0200
+++ b/E5Network/E5NetworkProxyFactory.py	Tue Aug 31 12:17:02 2010 +0200
@@ -11,9 +11,11 @@
 import os
 
 from PyQt4.QtCore import QUrl, Qt, QCoreApplication
-from PyQt4.QtGui import QMessageBox, QDialog
+from PyQt4.QtGui import QDialog
 from PyQt4.QtNetwork import QNetworkProxyFactory, QNetworkProxy, QNetworkProxyQuery
 
+from E5Gui import E5MessageBox
+
 from UI.AuthenticationDialog import AuthenticationDialog
 
 import Preferences
@@ -124,7 +126,7 @@
                     protocol = query.protocolTag().capitalize()
                 host = Preferences.getUI("ProxyHost/{0}".format(protocol))
                 if not host:
-                    QMessageBox.critical(None,
+                    E5MessageBox.critical(None,
                         QCoreApplication.translate("E5NetworkProxyFactory", 
                             "Proxy Configuration Error"),
                         QCoreApplication.translate("E5NetworkProxyFactory", 

eric ide

mercurial