From 0ddff2b0878529911ad2c52a7eef4e9e3c65840c Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 27 Oct 2020 17:47:40 +0100 Subject: [PATCH] Fix stupid bug --- src/qobuz/qobuzrequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qobuz/qobuzrequest.cpp b/src/qobuz/qobuzrequest.cpp index 8234cad4a..c7b920a56 100644 --- a/src/qobuz/qobuzrequest.cpp +++ b/src/qobuz/qobuzrequest.cpp @@ -656,7 +656,7 @@ void QobuzRequest::AlbumsReceived(QNetworkReply *reply, const QString &artist_id } QString artist = obj_artist["name"].toString(); - if (artist_id_requested != 0 && artist_id != artist_id_requested) { + if (!artist_id_requested.isEmpty() && artist_id != artist_id_requested) { qLog(Debug) << "Skipping artist" << "artist" << artist << artist_id << "does not match album artist" << album_artist_id << album_artist; continue; }