Tasks/TaskViewer.py

changeset 458
1695e7a2db54
parent 428
58405c24aa09
child 500
c3abc7895a01
--- a/Tasks/TaskViewer.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/Tasks/TaskViewer.py	Fri Aug 06 12:39:40 2010 +0200
@@ -420,8 +420,7 @@
         self.__backMenu.addAction(self.trUtf8("Configure..."), self.__configure)
         
         self.setContextMenuPolicy(Qt.CustomContextMenu)
-        self.connect(self, SIGNAL("customContextMenuRequested(const QPoint &)"),
-                     self.__showContextMenu)
+        self.customContextMenuRequested.connect(self.__showContextMenu)
         self.connect(self, SIGNAL("itemActivated(QTreeWidgetItem *, int)"),
                      self.__taskItemActivated)
         

eric ide

mercurial