1
0
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:
Arnaud Bienner 2012-06-27 20:02:07 +02:00
parent a57e2be7ec
commit 3c5e91ce84
2 changed files with 0 additions and 10 deletions

View File

@ -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();

View File

@ -153,7 +153,6 @@ class GroovesharkService : public InternetService {
void UpdateTotalSongCount(int count);
void SessionCreated();
void OpenSearchTab();
void DoSearch();
void SearchSongsFinished();
void SimpleSearchFinished();