Helpviewer/HelpWindow.py

changeset 319
09f456ec6fcf
parent 314
c1379cab7697
child 350
db40effc5c65
diff -r f6b0163a21be -r 09f456ec6fcf Helpviewer/HelpWindow.py
--- a/Helpviewer/HelpWindow.py	Mon May 31 15:15:20 2010 +0200
+++ b/Helpviewer/HelpWindow.py	Mon May 31 15:36:05 2010 +0200
@@ -1445,7 +1445,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