Mon, 16 Jun 2014 18:35:31 +0200
Removed some obsolete error handling code in webpage.
(grafted from 91102b757bef0381690d1dff079c5a48cf09eb8f)
Helpviewer/HelpBrowserWV.py | file | annotate | diff | comparison | revisions |
--- a/Helpviewer/HelpBrowserWV.py Sun Jun 15 19:00:42 2014 +0200 +++ b/Helpviewer/HelpBrowserWV.py Mon Jun 16 18:35:31 2014 +0200 @@ -287,10 +287,6 @@ if extension == QWebPage.ErrorPageExtension: info = sip.cast(option, QWebPage.ErrorPageExtensionOption) - if info.error == 102: - # this is something of a hack; hopefully it will work in - # the future - return False errorPage = sip.cast(output, QWebPage.ErrorPageExtensionReturn) urlString = bytes(info.url.toEncoded()).decode()