eric5.py

branch
Py2 comp.
changeset 2791
a9577f248f04
parent 2677
3d4277929fb3
parent 2683
ef93fc7332a2
child 2847
1843ef6e2656
--- a/eric5.py	Mon Jul 08 21:47:26 2013 +0200
+++ b/eric5.py	Mon Jul 08 22:36:10 2013 +0200
@@ -30,7 +30,7 @@
 import logging
 
 from PyQt4.QtCore import qWarning, QLibraryInfo, QTimer
-from PyQt4.QtGui import QApplication, QErrorMessage
+from PyQt4.QtGui import QApplication
 
 # some global variables needed to start the application
 args = None
@@ -264,7 +264,8 @@
         QTimer.singleShot(0, uiStartUp)
         
         # generate a graphical error handler
-        eMsg = QErrorMessage.qtHandler()
+        from E5Gui import E5ErrorMessage
+        eMsg = E5ErrorMessage.qtHandler()
         eMsg.setMinimumSize(600, 400)
         
         # start the event loop

eric ide

mercurial