eric5.py

changeset 2683
ef93fc7332a2
parent 2664
56add695787e
child 2779
4d433896b6d6
child 2791
a9577f248f04
--- a/eric5.py	Fri May 31 10:47:48 2013 +0200
+++ b/eric5.py	Fri May 31 13:33:57 2013 +0200
@@ -19,7 +19,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
@@ -253,7 +253,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