diff -r 3e9f0330f833 -r 7781e396c903 IconEditor/IconEditorGrid.py --- a/IconEditor/IconEditorGrid.py Sun Jun 19 17:50:39 2011 +0200 +++ b/IconEditor/IconEditorGrid.py Sun Jun 19 19:36:27 2011 +0200 @@ -31,7 +31,7 @@ @param oldImage copy of the icon before the changes were applied (QImage) @param parent reference to the parent command (QUndoCommand) """ - QUndoCommand.__init__(self, text, parent) + super().__init__(text, parent) self.__grid = grid self.__imageBefore = QImage(oldImage) @@ -108,7 +108,7 @@ @param parent reference to the parent widget (QWidget) """ - QWidget.__init__(self, parent) + super().__init__(parent) self.setAttribute(Qt.WA_StaticContents) self.setSizePolicy(QSizePolicy.Minimum, QSizePolicy.Minimum)