Correct a bug in Grooveshark that make the subscribed playlists to be added in playlists_.
As a result, subscribed playlists are shown in 'Add to Grooveshark' action (when right clicking a GS song), whereas user cannot actually change this kind of playlist
This commit is contained in:
parent
79ebbf3894
commit
396f375e8d
@ -662,10 +662,8 @@ void GroovesharkService::PlaylistSongsRetrieved() {
|
||||
|
||||
// Find corresponding playlist info
|
||||
int playlist_id = pending_retrieve_playlists_.take(reply);
|
||||
PlaylistInfo& playlist_info = playlists_[playlist_id];
|
||||
if (subscribed_playlists_.contains(playlist_id)) {
|
||||
playlist_info = subscribed_playlists_[playlist_id];
|
||||
}
|
||||
PlaylistInfo& playlist_info = subscribed_playlists_.contains(playlist_id) ?
|
||||
subscribed_playlists_[playlist_id] : playlists_[playlist_id];
|
||||
playlist_info.item_->removeRows(0, playlist_info.item_->rowCount());
|
||||
|
||||
QVariantMap result = ExtractResult(reply);
|
||||
|
Loading…
x
Reference in New Issue
Block a user