Dont use reference in AlbumSongsReplyReceived
This commit is contained in:
@@ -351,7 +351,7 @@ void SubsonicRequest::FlushAlbumSongsRequests() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SubsonicRequest::AlbumSongsReplyReceived(QNetworkReply *reply, const QString &artist_id, const QString &album_id, const QString &album_artist) {
|
void SubsonicRequest::AlbumSongsReplyReceived(QNetworkReply *reply, const QString artist_id, const QString album_id, const QString album_artist) {
|
||||||
|
|
||||||
if (!replies_.contains(reply)) return;
|
if (!replies_.contains(reply)) return;
|
||||||
replies_.removeAll(reply);
|
replies_.removeAll(reply);
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class SubsonicRequest : public SubsonicBaseRequest {
|
|||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void AlbumsReplyReceived(QNetworkReply *reply, const int offset_requested);
|
void AlbumsReplyReceived(QNetworkReply *reply, const int offset_requested);
|
||||||
void AlbumSongsReplyReceived(QNetworkReply *reply, const QString &artist_id, const QString &album_id, const QString &album_artist);
|
void AlbumSongsReplyReceived(QNetworkReply *reply, const QString artist_id, const QString album_id, const QString album_artist);
|
||||||
void AlbumCoverReceived(QNetworkReply *reply, const QString album_id, const QUrl url, const QString filename);
|
void AlbumCoverReceived(QNetworkReply *reply, const QString album_id, const QUrl url, const QString filename);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user