moviebrowser/yt history: use a less collision-prone action key for clearing the history

Origin commit data
------------------
Branch: ni/coolstream
Commit: 1cabec4ace
Author: martii <m4rtii@gmx.de>
Date: 2013-08-16 (Fri, 16 Aug 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2013-08-16 20:22:37 +02:00
committed by [CST] Focus
parent c073d0695d
commit 1c18b7666a

View File

@@ -3929,7 +3929,7 @@ int CYTHistory::exec(CMenuTarget* parent, const std::string &actionKey)
if (parent)
parent->hide();
CMenuWidget* m = new CMenuWidget(LOCALE_MOVIEBROWSER_YT_HISTORY, NEUTRINO_ICON_MOVIEPLAYER, width);
m->addKey(CRCInput::RC_spkr, this, "clear");
m->addKey(CRCInput::RC_spkr, this, "clearYThistory");
m->setSelected(selected);
m->addItem(GenericMenuSeparator);
m->addItem(GenericMenuBack);
@@ -3942,7 +3942,7 @@ int CYTHistory::exec(CMenuTarget* parent, const std::string &actionKey)
delete m;
return menu_return::RETURN_REPAINT;
}
if (actionKey == "clear") {
if (actionKey == "clearYThistory") {
settings->ytsearch_history.clear();
settings->ytsearch_history_size = 0;
return menu_return::RETURN_EXIT;