Debugger/BreakPointViewer.py

changeset 458
1695e7a2db54
parent 55
b5c84934de9c
child 461
34528aaedf1c
--- a/Debugger/BreakPointViewer.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/Debugger/BreakPointViewer.py	Fri Aug 06 12:39:40 2010 +0200
@@ -43,8 +43,7 @@
         self.setWindowTitle(self.trUtf8("Breakpoints"))
         
         self.setContextMenuPolicy(Qt.CustomContextMenu)
-        self.connect(self,SIGNAL('customContextMenuRequested(const QPoint &)'),
-                     self.__showContextMenu)
+        self.customContextMenuRequested.connect(self.__showContextMenu)
         self.connect(self,SIGNAL('doubleClicked(const QModelIndex &)'),
                      self.__doubleClicked)
         
@@ -436,4 +435,4 @@
         """
         Private method to open the configuration dialog.
         """
-        e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage")
\ No newline at end of file
+        e5App().getObject("UserInterface").showPreferences("debuggerGeneralPage")

eric ide

mercurial