--- a/VCS/StatusMonitorLed.py Thu Aug 05 08:39:56 2010 +0200 +++ b/VCS/StatusMonitorLed.py Fri Aug 06 12:39:40 2010 +0200 @@ -66,8 +66,7 @@ # connect signals to our slots self.setContextMenuPolicy(Qt.CustomContextMenu) - self.connect(self, SIGNAL("customContextMenuRequested(const QPoint &)"), - self._showContextMenu) + self.customContextMenuRequested.connect(self._showContextMenu) self.connect(self.project, SIGNAL('vcsStatusMonitorStatus(QString, QString)'), self.__projectVcsMonitorStatus) @@ -137,4 +136,4 @@ """ Private slot to switch the status monitor thread to Off. """ - self.project.stopStatusMonitor() \ No newline at end of file + self.project.stopStatusMonitor()