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) |