Helpviewer/HelpBrowserWV.py

branch
5_4_x
changeset 3634
5b13937a3765
parent 3160
209a07d7e401
child 3637
5ac63ebd5c4e
equal deleted inserted replaced
3632:2424e64d384f 3634:5b13937a3765
327 return True 327 return True
328 328
329 if info.domain == QWebPage.QtNetwork and \ 329 if info.domain == QWebPage.QtNetwork and \
330 info.error == QNetworkReply.OperationCanceledError and \ 330 info.error == QNetworkReply.OperationCanceledError and \
331 info.errorString == "eric5:No Error": 331 info.errorString == "eric5:No Error":
332 return False
333
334 if info.domain == QWebPage.WebKit and info.error == 203:
335 # "Loading is handled by the media engine"
332 return False 336 return False
333 337
334 title = self.trUtf8("Error loading page: {0}").format(urlString) 338 title = self.trUtf8("Error loading page: {0}").format(urlString)
335 htmlFile = QFile(":/html/notFoundPage.html") 339 htmlFile = QFile(":/html/notFoundPage.html")
336 htmlFile.open(QFile.ReadOnly) 340 htmlFile.open(QFile.ReadOnly)

eric ide

mercurial