Helpviewer/HelpWindow.py

branch
5_2_x
changeset 1692
f67b8b8e372a
parent 1650
ee57b7f8fa10
child 1915
08b6bb53603a
--- a/Helpviewer/HelpWindow.py	Sun Mar 04 13:06:58 2012 +0100
+++ b/Helpviewer/HelpWindow.py	Sun Mar 04 18:15:40 2012 +0100
@@ -1556,22 +1556,6 @@
         """
         QWhatsThis.enterWhatsThisMode()
         
-    def __showHistoryMenu(self):
-        """
-        Private slot called in order to show the history menu.
-        """
-        self.historyMenu.clear()
-        self.historyMenu.addAction(self.clearHistoryAct)
-        self.clearHistoryAct.setData(-1)
-        self.historyMenu.addSeparator()
-        idx = 0
-        for hist in self.mHistory:
-            act = self.historyMenu.addAction(
-                Utilities.compactPath(hist, self.maxMenuFilePathLen))
-            act.setData(idx)
-            idx += 1
-            act.setIcon(HelpWindow.__getWebIcon(QUrl(hist)))
-        
     def __titleChanged(self, browser, title):
         """
         Private slot called to handle a change of s browser's title.

eric ide

mercurial