Remove unneeded this

This commit is contained in:
Jonas Kvinge 2020-04-23 21:05:17 +02:00
parent c1dcef3477
commit df9292bafe
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,8 @@
#include "config.h"
#include <algorithm>
#include <QtGlobal>
#include <QObject>
#include <QPair>
@ -81,7 +83,7 @@ bool DeezerCoverProvider::StartSearch(const QString &artist, const QString &albu
QNetworkRequest req(url);
req.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
QNetworkReply *reply = network_->get(req);
connect(reply, &QNetworkReply::finished, [=] { this->HandleSearchReply(reply, id); });
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id); });
return true;

View File

@ -87,7 +87,7 @@ bool QobuzCoverProvider::StartSearch(const QString &artist, const QString &album
req.setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
req.setRawHeader("X-App-Id", kAppID);
QNetworkReply *reply = network_->get(req);
connect(reply, &QNetworkReply::finished, [=] { this->HandleSearchReply(reply, id); });
connect(reply, &QNetworkReply::finished, [=] { HandleSearchReply(reply, id); });
return true;