E5Gui/E5Action.py

changeset 1131
7781e396c903
parent 945
8cd4d08fa9f6
child 1509
c0b5e693b0eb
--- a/E5Gui/E5Action.py	Sun Jun 19 17:50:39 2011 +0200
+++ b/E5Gui/E5Action.py	Sun Jun 19 19:36:27 2011 +0200
@@ -81,7 +81,7 @@
                 7 + incr, len(args)))
             
         parent = args[4 + incr]
-        QAction.__init__(self, parent)
+        super().__init__(parent)
         name = args[5 + incr]
         if name:
             self.setObjectName(name)
@@ -138,7 +138,7 @@
         
         @param shortcut the accelerator (QKeySequence)
         """
-        QAction.setShortcut(self, shortcut)
+        super().setShortcut(shortcut)
         self.__ammendToolTip()
         
     def setShortcuts(self, shortcuts):
@@ -149,7 +149,7 @@
             or key for a platform dependent list of accelerators
             (QKeySequence.StandardKey)
         """
-        QAction.setShortcuts(self, shortcuts)
+        super().setShortcuts(shortcuts)
         self.__ammendToolTip()
         
     def __ammendToolTip(self):

eric ide

mercurial