UI/LogView.py

changeset 458
1695e7a2db54
parent 97
c4086afea02b
child 791
9ec2ac20e54e
--- a/UI/LogView.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/UI/LogView.py	Fri Aug 06 12:39:40 2010 +0200
@@ -42,8 +42,7 @@
         self.__menu.addAction(self.trUtf8("Configure..."), self.__configure)
         
         self.setContextMenuPolicy(Qt.CustomContextMenu)
-        self.connect(self, SIGNAL("customContextMenuRequested(const QPoint &)"),
-            self.__handleShowContextMenu)
+        self.customContextMenuRequested.connect(self.__handleShowContextMenu)
         
         self.cNormalFormat = self.currentCharFormat()
         self.cErrorFormat = self.currentCharFormat()

eric ide

mercurial