Initial implementation of password-protected feeds.

This commit is contained in:
Martin Rotter 2014-02-01 10:07:51 +01:00
parent e39c2e62cc
commit 5d74d92c5d

View file

@ -39,10 +39,14 @@ void SilentNetworkAccessManager::onAuthenticationRequired(QNetworkReply *reply,
qDebug("Feed '%s' requested authentication and got it.",
qPrintable(reply->url().toString()));
reply->setProperty("authentication-given", true);
}
else {
// Authentication is required but this feed does not contain it.
qDebug("Feed '%s' requested authentication but username/password is not available.",
qPrintable(reply->url().toString()));
reply->setProperty("authentication-given", false);
}
}