--- a/IconEditor/IconEditorGrid.py Tue Aug 31 12:17:02 2010 +0200 +++ b/IconEditor/IconEditorGrid.py Tue Aug 31 12:36:10 2010 +0200 @@ -10,6 +10,8 @@ from PyQt4.QtCore import * from PyQt4.QtGui import * +from E5Gui import E5MessageBox + from .cursors import cursors_rc from .IconSizeDialog import IconSizeDialog @@ -830,7 +832,7 @@ img, ok = self.__clipboardImage() if ok: if img.width() > self.__image.width() or img.height() > self.__image.height(): - res = QMessageBox.question(self, + res = E5MessageBox.question(self, self.trUtf8("Paste"), self.trUtf8("""<p>The clipboard image is larger than the current """ """image.<br/>Paste as new image?</p>"""), @@ -1054,4 +1056,4 @@ @return flag indicating the availability of a selection (boolean) """ - return self.__selectionAvailable + return self.__selectionAvailable \ No newline at end of file