--- a/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py Mon Aug 30 20:16:34 2010 +0200 +++ b/Plugins/VcsPlugins/vcsSubversion/SvnDiffDialog.py Tue Aug 31 12:17:02 2010 +0200 @@ -13,6 +13,7 @@ from PyQt4.QtGui import * from E5Gui.E5Application import e5App +from E5Gui import E5MessageBox from .Ui_SvnDiffDialog import Ui_SvnDiffDialog @@ -161,7 +162,7 @@ procStarted = self.process.waitForStarted() if not procStarted: self.inputGroup.setEnabled(False) - QMessageBox.critical(None, + E5MessageBox.critical(self, self.trUtf8('Process Generation Error'), self.trUtf8( 'The process {0} could not be started. ' @@ -306,7 +307,7 @@ f.write(self.contents.toPlainText()) f.close() except IOError as why: - QMessageBox.critical(self, self.trUtf8('Save Diff'), + E5MessageBox.critical(self, self.trUtf8('Save Diff'), self.trUtf8('<p>The patch file <b>{0}</b> could not be saved.' '<br>Reason: {1}</p>') .format(fname, str(why))) @@ -359,4 +360,4 @@ self.intercept = False evt.accept() return - QWidget.keyPressEvent(self, evt) + QWidget.keyPressEvent(self, evt) \ No newline at end of file