--- a/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Wed Aug 04 14:03:01 2010 +0200 +++ b/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Thu Aug 05 08:35:30 2010 +0200 @@ -216,7 +216,7 @@ """<b>Tile the windows</b>""" """<p>Rearrange and resize the windows so that they are tiled.</p>""" )) - self.tileAct.triggered.connect(self.tile) + self.tileAct.triggered[()].connect(self.tile) self.windowActions.append(self.tileAct) self.cascadeAct = E5Action(self.trUtf8('Cascade'), @@ -226,7 +226,7 @@ """<b>Cascade the windows</b>""" """<p>Rearrange and resize the windows so that they are cascaded.</p>""" )) - self.cascadeAct.triggered.connect(self.cascade) + self.cascadeAct.triggered[()].connect(self.cascade) self.windowActions.append(self.cascadeAct) self.nextChildAct = E5Action(self.trUtf8('Next'), @@ -236,7 +236,7 @@ """<b>Next</b>""" """<p>Activate the next window of the list of open windows.</p>""" )) - self.nextChildAct.triggered.connect(self.activateNextSubWindow) + self.nextChildAct.triggered[()].connect(self.activateNextSubWindow) self.windowActions.append(self.nextChildAct) self.prevChildAct = E5Action(self.trUtf8('Previous'), @@ -246,7 +246,7 @@ """<b>Previous</b>""" """<p>Activate the previous window of the list of open windows.</p>""" )) - self.prevChildAct.triggered.connect(self.activatePreviousSubWindow) + self.prevChildAct.triggered[()].connect(self.activatePreviousSubWindow) self.windowActions.append(self.prevChildAct) self.restoreAllAct = E5Action(self.trUtf8('Restore All'), @@ -256,7 +256,7 @@ """<b>Restore All</b>""" """<p>Restores all windows to their original size.</p>""" )) - self.restoreAllAct.triggered.connect(self.__restoreAllWindows) + self.restoreAllAct.triggered[()].connect(self.__restoreAllWindows) self.windowActions.append(self.restoreAllAct) self.iconizeAllAct = E5Action(self.trUtf8('Iconize All'), @@ -266,7 +266,7 @@ """<b>Iconize All</b>""" """<p>Iconizes all windows.</p>""" )) - self.iconizeAllAct.triggered.connect(self.__iconizeAllWindows) + self.iconizeAllAct.triggered[()].connect(self.__iconizeAllWindows) self.windowActions.append(self.iconizeAllAct) def setEditorName(self, editor, newName):