More complete downloader.
This commit is contained in:
parent
1663f2a9c0
commit
15e780f35a
@ -42,13 +42,15 @@ QString WebPage::toPlainText() const {
|
||||
}
|
||||
|
||||
void WebPage::handleUnsupportedContent(QNetworkReply *reply) {
|
||||
if (!reply)
|
||||
if (!reply) {
|
||||
return;
|
||||
}
|
||||
|
||||
QUrl replyUrl = reply->url();
|
||||
|
||||
if (replyUrl.scheme() == QLatin1String("abp"))
|
||||
if (replyUrl.scheme() == QLatin1String("abp")) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (reply->error()) {
|
||||
case QNetworkReply::NoError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user