1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 16:29:43 +01:00

TWK-795: Filter dups from last.fm top artists

This commit is contained in:
Leo Franchi 2012-03-31 09:05:14 -04:00
parent f84d08e011
commit b3b70cea82

View File

@ -585,6 +585,8 @@ LastFmPlugin::topTracksReturned()
QNetworkReply* reply = qobject_cast<QNetworkReply*>( sender() );
QStringList topTracks = lastfm::Artist::getTopTracks( reply );
topTracks.removeDuplicates();
QVariantMap returnedData;
returnedData["tracks"] = topTracks;