Debugger/DebugUI.py

changeset 536
6d8d39753c82
parent 486
e4711a55e482
child 537
72b32daeb8d6
diff -r 4b00d7336e19 -r 6d8d39753c82 Debugger/DebugUI.py
--- a/Debugger/DebugUI.py	Mon Aug 30 19:03:34 2010 +0200
+++ b/Debugger/DebugUI.py	Mon Aug 30 20:16:34 2010 +0200
@@ -25,6 +25,7 @@
 import UI.Config
 
 from E5Gui.E5Action import E5Action, createActionGroup
+from E5Gui import E5MessageBox
 
 from eric5config import getConfig
 
@@ -939,11 +940,11 @@
         
         if not Preferences.getDebugger("SuppressClientExit") or status != 0:
             if self.ui.currentProg is None:
-                QMessageBox.information(self.ui,Program,
+                E5MessageBox.information(self.ui,Program,
                     self.trUtf8('<p>The program has terminated with an exit'
                                 ' status of {0}.</p>').format(status))
             else:
-                QMessageBox.information(self.ui,Program,
+                E5MessageBox.information(self.ui,Program,
                     self.trUtf8('<p><b>{0}</b> has terminated with an exit'
                                 ' status of {1}.</p>')
                         .format(Utilities.normabspath(self.ui.currentProg), status))
@@ -1055,7 +1056,7 @@
         """
         self.__resetUI()
         if unplanned:
-            QMessageBox.information(self.ui,Program,
+            E5MessageBox.information(self.ui,Program,
                 self.trUtf8('The program being debugged has terminated unexpectedly.'))
         
     def __getThreadList(self):
@@ -1977,4 +1978,4 @@
         
         @return list of all actions (list of E5Action)
         """
-        return self.actions[:]
+        return self.actions[:]
\ No newline at end of file

eric ide

mercurial