VCS/StatusMonitorLed.py

changeset 458
1695e7a2db54
parent 55
b5c84934de9c
child 500
c3abc7895a01
diff -r 608a9c14f4c9 -r 1695e7a2db54 VCS/StatusMonitorLed.py
--- 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()

eric ide

mercurial