From e6d76a72a51e80df31517aea5383f4c719f87662 Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 29 Jul 2012 20:12:16 +0200 Subject: [PATCH] Add "append to/replace/... playlist" and "Configure" actions to Spotify items. --- src/internet/spotifyservice.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/internet/spotifyservice.cpp b/src/internet/spotifyservice.cpp index 101bc4e47..b75231338 100644 --- a/src/internet/spotifyservice.cpp +++ b/src/internet/spotifyservice.cpp @@ -519,17 +519,20 @@ void SpotifyService::EnsureMenuCreated() { return; context_menu_ = new QMenu; - - context_menu_->addActions(GetPlaylistActions()); - context_menu_->addSeparator(); context_menu_->addAction(IconLoader::Load("configure"), tr("Configure Spotify..."), this, SLOT(ShowConfig())); playlist_context_menu_ = new QMenu; + playlist_context_menu_->addActions(GetPlaylistActions()); + playlist_context_menu_->addSeparator(); playlist_sync_action_ = playlist_context_menu_->addAction( IconLoader::Load("view-refresh"), tr("Make playlist available offline"), this, SLOT(SyncPlaylist())); + playlist_context_menu_->addSeparator(); + playlist_context_menu_->addAction(IconLoader::Load("configure"), + tr("Configure Spotify..."), + this, SLOT(ShowConfig())); } void SpotifyService::ClearSearchResults() {