Helpviewer/HelpBrowserWV.py

changeset 3633
869c7cb9dc15
parent 3621
15f23ed3f216
child 3636
91102b757bef
equal deleted inserted replaced
3631:2f5169646a4a 3633:869c7cb9dc15
334 return True 334 return True
335 335
336 if info.domain == QWebPage.QtNetwork and \ 336 if info.domain == QWebPage.QtNetwork and \
337 info.error == QNetworkReply.OperationCanceledError and \ 337 info.error == QNetworkReply.OperationCanceledError and \
338 info.errorString == "eric5:No Error": 338 info.errorString == "eric5:No Error":
339 return False
340
341 if info.domain == QWebPage.WebKit and info.error == 203:
342 # "Loading is handled by the media engine"
339 return False 343 return False
340 344
341 title = self.tr("Error loading page: {0}").format(urlString) 345 title = self.tr("Error loading page: {0}").format(urlString)
342 htmlFile = QFile(":/html/notFoundPage.html") 346 htmlFile = QFile(":/html/notFoundPage.html")
343 htmlFile.open(QFile.ReadOnly) 347 htmlFile.open(QFile.ReadOnly)

eric ide

mercurial