--- a/UI/CompareDialog.py Mon Aug 30 20:16:34 2010 +0200 +++ b/UI/CompareDialog.py Tue Aug 31 12:17:02 2010 +0200 @@ -14,6 +14,7 @@ from PyQt4.QtGui import * from E5Gui.E5Completers import E5FileCompleter +from E5Gui import E5MessageBox import UI.PixmapCache @@ -219,7 +220,7 @@ lines1 = f1.readlines() f1.close() except IOError: - QMessageBox.critical(self, + E5MessageBox.critical(self, self.trUtf8("Compare Files"), self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""") .format(filename1)) @@ -231,7 +232,7 @@ lines2 = f2.readlines() f2.close() except IOError: - QMessageBox.critical(self, + E5MessageBox.critical(self, self.trUtf8("Compare Files"), self.trUtf8("""<p>The file <b>{0}</b> could not be read.</p>""") .format(filename2)) @@ -449,4 +450,4 @@ QApplication.exit() return True - return False + return False \ No newline at end of file