mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- miscsettings: add missing shortcut to sleeptimer item
Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
@@ -282,18 +282,21 @@ int CMiscMenue::showMiscSettingsMenu()
|
|||||||
|
|
||||||
//cec settings
|
//cec settings
|
||||||
CCECSetup cecsetup;
|
CCECSetup cecsetup;
|
||||||
if (g_info.hw_caps->can_cec) {
|
if (g_info.hw_caps->can_cec)
|
||||||
|
{
|
||||||
mf = new CMenuForwarder(LOCALE_VIDEOMENU_HDMI_CEC, true, NULL, &cecsetup, NULL, CRCInput::convertDigitToKey(shortcut++));
|
mf = new CMenuForwarder(LOCALE_VIDEOMENU_HDMI_CEC, true, NULL, &cecsetup, NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_MISC_CEC);
|
mf->setHint("", LOCALE_MENU_HINT_MISC_CEC);
|
||||||
misc_menue.addItem(mf);
|
misc_menue.addItem(mf);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!g_info.hw_caps->can_shutdown) {
|
if (!g_info.hw_caps->can_shutdown)
|
||||||
|
{
|
||||||
/* we don't have the energy menu, but put the sleeptimer directly here */
|
/* we don't have the energy menu, but put the sleeptimer directly here */
|
||||||
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, NULL, new CSleepTimerWidget(true));
|
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, NULL, new CSleepTimerWidget(true), NULL, CRCInput::convertDigitToKey(shortcut++));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
||||||
misc_menue.addItem(mf);
|
misc_menue.addItem(mf);
|
||||||
}
|
}
|
||||||
|
|
||||||
//channellist
|
//channellist
|
||||||
mf = new CMenuForwarder(LOCALE_MISCSETTINGS_CHANNELLIST, true, NULL, this, "channellist", CRCInput::convertDigitToKey(shortcut++));
|
mf = new CMenuForwarder(LOCALE_MISCSETTINGS_CHANNELLIST, true, NULL, this, "channellist", CRCInput::convertDigitToKey(shortcut++));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_MISC_CHANNELLIST);
|
mf->setHint("", LOCALE_MENU_HINT_MISC_CHANNELLIST);
|
||||||
|
Reference in New Issue
Block a user