From 0e5246fbea2fdd8fe1a0408deffcd53a7439389a Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 6 Jul 2017 20:24:56 +0200 Subject: Improve display of MusicBrainz result Don't show the release-group id, add links for the artist and the album instead. --- webdownloader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'webdownloader.cpp') diff --git a/webdownloader.cpp b/webdownloader.cpp index c0505b9..897ce80 100644 --- a/webdownloader.cpp +++ b/webdownloader.cpp @@ -41,6 +41,7 @@ void WebDownloader::dlFinished(QNetworkReply *reply){ mData << curId; } QString aId = titleRes.toObject().value("artist-credit").toArray().at(0).toObject().value("artist").toObject().value("id").toString(); + mArtistId = aId; std::for_each(relArr.constBegin(), relArr.constEnd(), [this, aId](auto c){ QString id = c.toObject().value("artist-credit").toArray().at(0).toObject().value("artist").toObject().value("id").toString(); if(id == aId){ -- cgit v1.2.3-70-g09d2