Some comments.
This commit is contained in:
parent
78ee6b83cf
commit
a93ce8a54c
2 changed files with 2 additions and 4 deletions
|
@ -31,7 +31,7 @@ void SilentNetworkAccessManager::onAuthenticationRequired(QNetworkReply* reply,
|
||||||
else {
|
else {
|
||||||
reply->setProperty("authentication-given", false);
|
reply->setProperty("authentication-given", false);
|
||||||
|
|
||||||
// Authentication is required but this feed does not contain it.
|
// Authentication is required but this item does not contain it.
|
||||||
qWarningNN << LOGSEC_NETWORK
|
qWarningNN << LOGSEC_NETWORK
|
||||||
<< "Item"
|
<< "Item"
|
||||||
<< QUOTE_W_SPACE(reply->url().toString())
|
<< QUOTE_W_SPACE(reply->url().toString())
|
||||||
|
|
|
@ -13,14 +13,12 @@ class SilentNetworkAccessManager : public BaseNetworkAccessManager {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
// Constructors and destructors.
|
|
||||||
explicit SilentNetworkAccessManager(QObject* parent = nullptr);
|
explicit SilentNetworkAccessManager(QObject* parent = nullptr);
|
||||||
virtual ~SilentNetworkAccessManager();
|
virtual ~SilentNetworkAccessManager();
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
// This cannot do any GUI stuff.
|
// NOTE: This cannot do any GUI stuff.
|
||||||
void onAuthenticationRequired(QNetworkReply* reply, QAuthenticator* authenticator);
|
void onAuthenticationRequired(QNetworkReply* reply, QAuthenticator* authenticator);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue