Helpviewer/HelpWindow.py

changeset 6
52e8c820d0dd
parent 0
de9c2efb9d02
child 7
c679fb30c8f3
diff -r fa319c01b604 -r 52e8c820d0dd Helpviewer/HelpWindow.py
--- a/Helpviewer/HelpWindow.py	Mon Dec 28 17:05:28 2009 +0000
+++ b/Helpviewer/HelpWindow.py	Mon Dec 28 18:31:37 2009 +0000
@@ -1403,7 +1403,7 @@
         idx = 0
         for hist in self.mHistory:
             act = self.historyMenu.addAction(
-                Utilities.compactPath(unicode(hist), self.maxMenuFilePathLen))
+                Utilities.compactPath(hist, self.maxMenuFilePathLen))
             act.setData(QVariant(idx))
             idx += 1
             act.setIcon(HelpWindow.__getWebIcon(QUrl(hist)))

eric ide

mercurial