Helpviewer/History/HistoryDialog.py

changeset 458
1695e7a2db54
parent 55
b5c84934de9c
child 464
a2b1d1770ef0
diff -r 608a9c14f4c9 -r 1695e7a2db54 Helpviewer/History/HistoryDialog.py
--- a/Helpviewer/History/HistoryDialog.py	Thu Aug 05 08:39:56 2010 +0200
+++ b/Helpviewer/History/HistoryDialog.py	Fri Aug 06 12:39:40 2010 +0200
@@ -58,9 +58,8 @@
         
         self.connect(self.historyTree, SIGNAL("activated(const QModelIndex&)"), 
                      self.__activated)
-        self.connect(self.historyTree, 
-                     SIGNAL("customContextMenuRequested(const QPoint &)"), 
-                     self.__customContextMenuRequested)
+        self.historyTree.customContextMenuRequested.connect(
+            self.__customContextMenuRequested)
         
         self.connect(self.searchEdit, SIGNAL("textChanged(QString)"), 
                      self.__proxyModel.setFilterFixedString)
@@ -141,4 +140,4 @@
         url = idx.data(HistoryModel.UrlStringRole)
         
         clipboard = QApplication.clipboard()
-        clipboard.setText(url)
\ No newline at end of file
+        clipboard.setText(url)

eric ide

mercurial