mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
miscsettings: use correct scope for sleeptimer menuwidget
This commit is contained in:
@@ -207,8 +207,9 @@ int CMiscMenue::showMiscSettingsMenu()
|
|||||||
|
|
||||||
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 */
|
||||||
CSleepTimerWidget sleeptimer;
|
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, g_settings.shutdown_min, new CSleepTimerWidget, "permanent", CRCInput::RC_1);
|
||||||
misc_menue.addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, g_settings.shutdown_min, &sleeptimer, "permanent", CRCInput::RC_1));
|
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
||||||
|
misc_menue.addItem(mf);
|
||||||
}
|
}
|
||||||
//channellist
|
//channellist
|
||||||
CMenuWidget misc_menue_chanlist(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_MISCSETUP_CHANNELLIST);
|
CMenuWidget misc_menue_chanlist(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_MISCSETUP_CHANNELLIST);
|
||||||
|
Reference in New Issue
Block a user