--- 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):