Use 4arg connects for networkreplies

This commit is contained in:
Jonas Kvinge
2021-03-21 00:37:17 +01:00
parent 73eebd6162
commit b224aeb0d8
30 changed files with 58 additions and 58 deletions

View File

@@ -84,7 +84,7 @@ void SubsonicScrobbleRequest::FlushScrobbleRequests() {
QNetworkReply *reply;
reply = CreateGetRequest(QString("scrobble"), params);
replies_ << reply;
QObject::connect(reply, &QNetworkReply::finished, [this, reply]() { ScrobbleReplyReceived(reply); });
QObject::connect(reply, &QNetworkReply::finished, this, [this, reply]() { ScrobbleReplyReceived(reply); });
}