Removed some obsolete error handling code in webpage. 5_4_x

Mon, 16 Jun 2014 18:35:31 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 16 Jun 2014 18:35:31 +0200
branch
5_4_x
changeset 3637
5ac63ebd5c4e
parent 3634
5b13937a3765
child 3639
5234afd7a6d7

Removed some obsolete error handling code in webpage.
(grafted from 91102b757bef0381690d1dff079c5a48cf09eb8f)

Helpviewer/HelpBrowserWV.py file | annotate | diff | comparison | revisions
diff -r 5b13937a3765 -r 5ac63ebd5c4e Helpviewer/HelpBrowserWV.py
--- 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()

eric ide

mercurial