Helpviewer/HelpWindow.py

branch
5_0_x
changeset 320
340a978859c6
parent 315
e44ee3cb994a
child 497
a529427b15ed
diff -r e513e6d31858 -r 340a978859c6 Helpviewer/HelpWindow.py
--- a/Helpviewer/HelpWindow.py	Mon May 31 15:16:22 2010 +0200
+++ b/Helpviewer/HelpWindow.py	Mon May 31 15:36:45 2010 +0200
@@ -1429,7 +1429,10 @@
         if url.isValid():
             return url
         
-        return QUrl(path)
+        try:
+            return QUrl.fromUserInput(path)
+        except AttributeError:
+            return QUrl(path)
     
     def __setPathComboBackground(self):
         """

eric ide

mercurial