mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Remove action for opening GS search playlist
This commit is contained in:
parent
a57e2be7ec
commit
3c5e91ce84
@ -547,10 +547,6 @@ void GroovesharkService::EnsureMenuCreated() {
|
||||
tr("Get a URL to share this Grooveshark playlist"),
|
||||
this, SLOT(GetCurrentPlaylistUrlToShare()));
|
||||
context_menu_->addSeparator();
|
||||
context_menu_->addAction(IconLoader::Load("edit-find"),
|
||||
tr("Search Grooveshark (opens a new tab)") + "...",
|
||||
this, SLOT(OpenSearchTab()));
|
||||
context_menu_->addSeparator();
|
||||
context_menu_->addAction(IconLoader::Load("download"),
|
||||
tr("Open %1 in browser").arg("grooveshark.com"),
|
||||
this, SLOT(Homepage()));
|
||||
@ -999,11 +995,6 @@ void GroovesharkService::SongMarkedAsComplete() {
|
||||
}
|
||||
}
|
||||
|
||||
void GroovesharkService::OpenSearchTab() {
|
||||
app_->playlist_manager()->New(tr("Search Grooveshark"), SongList(),
|
||||
GroovesharkSearchPlaylistType::kName);
|
||||
}
|
||||
|
||||
void GroovesharkService::ItemDoubleClicked(QStandardItem* item) {
|
||||
if (item == root_) {
|
||||
EnsureConnected();
|
||||
|
@ -153,7 +153,6 @@ class GroovesharkService : public InternetService {
|
||||
void UpdateTotalSongCount(int count);
|
||||
|
||||
void SessionCreated();
|
||||
void OpenSearchTab();
|
||||
void DoSearch();
|
||||
void SearchSongsFinished();
|
||||
void SimpleSearchFinished();
|
||||
|
Loading…
Reference in New Issue
Block a user