Add playlist actions to Spotify songs

Fixes #5000
This commit is contained in:
Arnaud Bienner 2015-09-14 23:55:08 +02:00
parent 62851770a0
commit 74781cb601
1 changed files with 3 additions and 1 deletions

View File

@ -668,12 +668,14 @@ void SpotifyService::EnsureMenuCreated() {
playlist_context_menu_->addAction(GetNewShowConfigAction());
song_context_menu_ = new QMenu;
song_context_menu_->addActions(GetPlaylistActions());
song_context_menu_->addSeparator();
remove_from_playlist_ = song_context_menu_->addAction(
IconLoader::Load("list-remove"), tr("Remove from playlist"), this,
SLOT(RemoveCurrentFromPlaylist()));
song_context_menu_->addAction(tr("Get a URL to share this Spotify song"),
this, SLOT(GetCurrentSongUrlToShare()));
song_context_menu_->addSeparator();
song_context_menu_->addAction(GetNewShowConfigAction());
}