diff -r a81097a85889 -r 9a7e0b7b801e Plugins/ViewManagerPlugins/MdiArea/MdiArea.py --- a/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Wed Aug 04 08:54:52 2010 +0200 +++ b/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py Wed Aug 04 14:03:01 2010 +0200 @@ -192,8 +192,7 @@ elif idx < 36: accel = "&{0}. ".format(chr(idx - 9 + ord("@"))) act = menu.addAction("{0}{1}".format(accel, txt)) - self.connect(act, SIGNAL("triggered()"), - self.__windowMapper, SLOT("map()")) + act.triggered.connect(self.__windowMapper.map) self.__windowMapper.setMapping(act, subWindow) idx += 1 @@ -364,4 +363,4 @@ Private slot to iconize all windows. """ for win in self.subWindowList(): - win.showMinimized() \ No newline at end of file + win.showMinimized()