diff -r 6d8d39753c82 -r 72b32daeb8d6 QScintilla/Exporters/ExporterRTF.py --- a/QScintilla/Exporters/ExporterRTF.py Mon Aug 30 20:16:34 2010 +0200 +++ b/QScintilla/Exporters/ExporterRTF.py Tue Aug 31 12:17:02 2010 +0200 @@ -16,6 +16,8 @@ from PyQt4.QtGui import * from PyQt4.Qsci import QsciScintilla +from E5Gui import E5MessageBox + from .ExporterBase import ExporterBase import Preferences @@ -334,11 +336,11 @@ f.close() except IOError as err: QApplication.restoreOverrideCursor() - QMessageBox.critical(self.editor, + E5MessageBox.critical(self.editor, self.trUtf8("Export source"), self.trUtf8( """<p>The source could not be exported to <b>{0}</b>.</p>""" """<p>Reason: {1}</p>""")\ .format(filename, str(err))) finally: - QApplication.restoreOverrideCursor() + QApplication.restoreOverrideCursor() \ No newline at end of file