1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-14 18:03:44 +01:00

Remove unused variables

This commit is contained in:
Jonas Kvinge 2021-06-20 23:55:59 +02:00
parent 50be44adf8
commit 6e5ff01db5
2 changed files with 1 additions and 9 deletions

View File

@ -108,7 +108,7 @@ bool QobuzCoverProvider::StartSearch(const QString &artist, const QString &album
#endif
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
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);
replies_ << reply;
QObject::connect(reply, &QNetworkReply::finished, this, [this, reply, id]() { HandleSearchReply(reply, id); });

View File

@ -68,14 +68,6 @@ class QobuzCoverProvider : public JsonCoverProvider {
NetworkAccessManager *network_;
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