--- a/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Plugins/DocumentationPlugins/Ericapi/EricapiExecDialog.py Tue Aug 31 12:17:02 2010 +0200 @@ -12,6 +12,8 @@ from PyQt4.QtCore import * from PyQt4.QtGui import * +from E5Gui import E5MessageBox + from .Ui_EricapiExecDialog import Ui_EricapiExecDialog import Preferences @@ -79,7 +81,7 @@ self.process.start(program, args) procStarted = self.process.waitForStarted() if not procStarted: - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8('Process Generation Error'), self.trUtf8( 'The process {0} could not be started. ' @@ -152,4 +154,4 @@ Preferences.getSystem("IOEncoding"), 'replace') self.errors.insertPlainText(s) - self.errors.ensureCursorVisible() + self.errors.ensureCursorVisible() \ No newline at end of file