More complete downloader.

This commit is contained in:
Martin Rotter 2015-02-01 16:45:14 +01:00
parent 1663f2a9c0
commit 15e780f35a

View File

@ -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: