mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
miscsettings: use correct SleepTimerWidget invocation
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2d4c6eedad
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-02-17 (Tue, 17 Feb 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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