miscsettings: use correct SleepTimerWidget invocation

This commit is contained in:
Stefan Seyfried
2015-02-17 21:18:54 +01:00
parent c9d1854dd5
commit 2d4c6eedad

View File

@@ -282,7 +282,7 @@ int CMiscMenue::showMiscSettingsMenu()
if (!g_info.hw_caps->can_shutdown) {
/* 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);
misc_menue.addItem(mf);
}