Helpviewer/HelpBrowserWV.py

changeset 3636
91102b757bef
parent 3633
869c7cb9dc15
child 3656
441956d8fce5
equal deleted inserted replaced
3635:fc024806236d 3636:91102b757bef
292 suggestedFileName) 292 suggestedFileName)
293 return True 293 return True
294 294
295 if extension == QWebPage.ErrorPageExtension: 295 if extension == QWebPage.ErrorPageExtension:
296 info = sip.cast(option, QWebPage.ErrorPageExtensionOption) 296 info = sip.cast(option, QWebPage.ErrorPageExtensionOption)
297 if info.error == 102:
298 # this is something of a hack; hopefully it will work in
299 # the future
300 return False
301 297
302 errorPage = sip.cast(output, QWebPage.ErrorPageExtensionReturn) 298 errorPage = sip.cast(output, QWebPage.ErrorPageExtensionReturn)
303 urlString = bytes(info.url.toEncoded()).decode() 299 urlString = bytes(info.url.toEncoded()).decode()
304 errorPage.baseUrl = info.url 300 errorPage.baseUrl = info.url
305 if info.domain == QWebPage.QtNetwork and \ 301 if info.domain == QWebPage.QtNetwork and \

eric ide

mercurial