Helpviewer/HelpWindow.py

branch
5_2_x
changeset 1646
26e064833700
parent 1579
6a9a44a74031
child 1650
ee57b7f8fa10
--- a/Helpviewer/HelpWindow.py	Sun Feb 19 15:29:32 2012 +0100
+++ b/Helpviewer/HelpWindow.py	Sun Feb 19 17:28:22 2012 +0100
@@ -1572,14 +1572,15 @@
             idx += 1
             act.setIcon(HelpWindow.__getWebIcon(QUrl(hist)))
         
-    def __titleChanged(self, title):
+    def __titleChanged(self, browser, title):
         """
-        Private slot called to handle a change of the current browsers title.
+        Private slot called to handle a change of s browser's title.
         
+        @param browser reference to the browser (HelpBrowser)
         @param title new title (string)
         """
         self.historyManager().updateHistoryEntry(
-            self.currentBrowser().url().toString(), title)
+            browser.url().toString(), title)
     
     def newTab(self, link=None, requestData=None):
         """

eric ide

mercurial