Place tune-in search button on item

This commit is contained in:
craig.p.drummond
2013-07-12 19:05:17 +00:00
parent 1f4f8a15ab
commit 5f9b9fffa7
3 changed files with 3 additions and 6 deletions

View File

@@ -63,9 +63,6 @@ StreamsPage::StreamsPage(QWidget *p)
addAction = ActionCollection::get()->createAction("addstream", i18n("Add New Stream To Favourites"), Icons::self()->addRadioStreamIcon);
editAction = ActionCollection::get()->createAction("editstream", i18n("Edit"), Icons::self()->editIcon);
replacePlayQueue->setDefaultAction(StdActions::self()->replacePlayQueueAction);
searchButton->setDefaultAction(StdActions::self()->searchAction);
searchButton->setToolTip(i18n("Search TuneIn For Streams"));
searchButton->setIcon(StreamsModel::self()->tuneInIcon());
// connect(view, SIGNAL(itemsSelected(bool)), addToPlaylist, SLOT(setEnabled(bool)));
connect(view, SIGNAL(doubleClicked(const QModelIndex &)), this, SLOT(itemDoubleClicked(const QModelIndex &)));
connect(view, SIGNAL(searchIsActive(bool)), this, SLOT(controlSearch(bool)));