Fix stupid bug

This commit is contained in:
Jonas Kvinge 2020-10-27 17:47:40 +01:00
parent 2e6a29eacc
commit 0ddff2b087
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}