mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
Fixed issue with showing "Error code 200" error page
This commit is contained in:
parent
e6da887f1a
commit
bcce0326fc
|
@ -640,6 +640,11 @@ bool WebPage::extension(Extension extension, const ExtensionOption* option, Exte
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (exOption->domain == QWebPage::Http) {
|
else if (exOption->domain == QWebPage::Http) {
|
||||||
|
// 200 status code = OK
|
||||||
|
// It shouldn't be reported as an error, but sometimes it is ...
|
||||||
|
if (exOption->error == 200) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
errorString = tr("Error code %1").arg(exOption->error);
|
errorString = tr("Error code %1").arg(exOption->error);
|
||||||
}
|
}
|
||||||
else if (exOption->domain == QWebPage::WebKit) {
|
else if (exOption->domain == QWebPage::WebKit) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user