UI/UserInterface.py

changeset 1112
8a7d1b9d18db
parent 945
8cd4d08fa9f6
child 1117
d8d16b928871
--- a/UI/UserInterface.py	Sat Jun 04 11:53:15 2011 +0200
+++ b/UI/UserInterface.py	Sun Jun 05 18:25:36 2011 +0200
@@ -11,8 +11,11 @@
 import sys
 import logging
 
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
+from PyQt4.QtCore import QTimer, QFile, QFileInfo, pyqtSignal, PYQT_VERSION_STR, QDate, \
+    QIODevice, QByteArray, qVersion, QProcess, QSize, QUrl, QObject, Qt
+from PyQt4.QtGui import QSizePolicy, QWidget, QKeySequence, QDesktopServices, \
+    QWhatsThis, QToolBar, QDialog, QSplitter, QApplication, QMenu, QStyleFactory, \
+    QMainWindow, QProgressDialog, QVBoxLayout, QDockWidget, QAction, QLabel
 from PyQt4.Qsci import QSCINTILLA_VERSION_STR
 from PyQt4.QtNetwork import QNetworkProxyFactory, QNetworkAccessManager, \
     QNetworkRequest, QNetworkReply
@@ -63,7 +66,7 @@
 from Cooperation.ChatWidget import ChatWidget
 
 from .Browser import Browser
-from .Info import *
+from .Info import Version, BugAddress, Program, FeatureAddress
 from . import Config
 from .EmailDialog import EmailDialog
 from .DiffDialog import DiffDialog
@@ -5624,7 +5627,7 @@
         @param errors list of SSL errors (list of QSslError)
         """
         errorStrings = []
-        for err in sslErrors:
+        for err in errors:
             errorStrings.append(err.errorString())
         errorString = '.<br />'.join(errorStrings)
         ret = E5MessageBox.yesNo(self,

eric ide

mercurial