IconEditor/IconEditorGrid.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
--- 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)

eric ide

mercurial