--- a/Graphics/SvgDiagram.py Thu Aug 05 08:39:56 2010 +0200 +++ b/Graphics/SvgDiagram.py Fri Aug 06 12:39:40 2010 +0200 @@ -115,8 +115,7 @@ self.__menu.addAction(self.zoomResetAct) self.setContextMenuPolicy(Qt.CustomContextMenu) - self.connect(self, SIGNAL('customContextMenuRequested(const QPoint &)'), - self.__showContextMenu) + self.customContextMenuRequested.connect(self.__showContextMenu) def __showContextMenu(self, coord): """ @@ -294,4 +293,4 @@ # render the diagram painter.setViewport(marginX, marginY, width, height) self.svgWidget.renderer().render(painter) - painter.end() \ No newline at end of file + painter.end()