From d8c47d95502478e45c7433cc340521a2d9a97347 Mon Sep 17 00:00:00 2001 From: fierelier Date: Sat, 27 Mar 2021 00:59:39 +0100 Subject: [PATCH] Experimental compatibility patch for PySide --- addons/0.documentViewer.QTextBrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/0.documentViewer.QTextBrowser.py b/addons/0.documentViewer.QTextBrowser.py index d1cca4b..367019b 100644 --- a/addons/0.documentViewer.QTextBrowser.py +++ b/addons/0.documentViewer.QTextBrowser.py @@ -69,7 +69,7 @@ class browserDoc(QTextBrowser): self.update() def cAnchorClicked(self,url): - url = str(url.toEncoded(),"utf-8") + url = url.toString() browserWindow = self.parent() curUrl = browserWindow.cDocumentInfo["url"] navType, url, urlParsed = navigateLink(curUrl,url)