Use 4arg connects for networkreplies
This commit is contained in:
@@ -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); });
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user