Changed code to make eric compatible to PyQt 5.5 (QByteArry issue).

Sun, 09 Aug 2015 17:01:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Aug 2015 17:01:36 +0200
changeset 4357
815d1f3116ff
parent 4356
975993ebd7fb
child 4359
ac1dda9f3f19

Changed code to make eric compatible to PyQt 5.5 (QByteArry issue).

Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/HelpBrowserWV.py	Fri Aug 07 19:40:15 2015 +0200
+++ b/Helpviewer/HelpBrowserWV.py	Sun Aug 09 17:01:36 2015 +0200
@@ -864,7 +864,8 @@
             resource = LinkedResource()
             resource.rel = rel
             resource.type_ = type_
-            resource.href = baseUrl.resolved(QUrl.fromEncoded(href))
+            resource.href = baseUrl.resolved(
+                QUrl.fromEncoded(href.encode("utf-8")))
             resource.title = title
             
             resources.append(resource)

eric ide

mercurial