mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
miscsettings: use correct SleepTimerWidget invocation
This commit is contained in:
@@ -282,7 +282,7 @@ 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 */
|
||||||
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, NULL, new CSleepTimerWidget, "permanent", CRCInput::RC_1);
|
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, NULL, new CSleepTimerWidget(true));
|
||||||
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
||||||
misc_menue.addItem(mf);
|
misc_menue.addItem(mf);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user