Remove unused variables
This commit is contained in:
parent
50be44adf8
commit
6e5ff01db5
|
@ -108,7 +108,7 @@ bool QobuzCoverProvider::StartSearch(const QString &artist, const QString &album
|
||||||
#endif
|
#endif
|
||||||
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
|
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
|
||||||
req.setRawHeader("X-App-Id", service_->app_id().toUtf8());
|
req.setRawHeader("X-App-Id", service_->app_id().toUtf8());
|
||||||
req.setRawHeader("X-User-Auth-Token", user_auth_token_.toUtf8());
|
req.setRawHeader("X-User-Auth-Token", service_->user_auth_token().toUtf8());
|
||||||
QNetworkReply *reply = network_->get(req);
|
QNetworkReply *reply = network_->get(req);
|
||||||
replies_ << reply;
|
replies_ << reply;
|
||||||
QObject::connect(reply, &QNetworkReply::finished, this, [this, reply, id]() { HandleSearchReply(reply, id); });
|
QObject::connect(reply, &QNetworkReply::finished, this, [this, reply, id]() { HandleSearchReply(reply, id); });
|
||||||
|
|
|
@ -68,14 +68,6 @@ class QobuzCoverProvider : public JsonCoverProvider {
|
||||||
NetworkAccessManager *network_;
|
NetworkAccessManager *network_;
|
||||||
QList<QNetworkReply*> replies_;
|
QList<QNetworkReply*> replies_;
|
||||||
|
|
||||||
QString username_;
|
|
||||||
QString password_;
|
|
||||||
qint64 user_id_;
|
|
||||||
QString user_auth_token_;
|
|
||||||
QString device_id_;
|
|
||||||
qint64 credential_id_;
|
|
||||||
QStringList login_errors_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QOBUZCOVERPROVIDER_H
|
#endif // QOBUZCOVERPROVIDER_H
|
||||||
|
|
Loading…
Reference in New Issue