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:
parent
f84d08e011
commit
b3b70cea82
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user