mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
miscsettings: use correct scope for sleeptimer menuwidget
Origin commit data
------------------
Branch: ni/coolstream
Commit: 10e359e43b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-11-14 (Wed, 14 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -207,8 +207,9 @@ int CMiscMenue::showMiscSettingsMenu()
|
||||
|
||||
if (!g_info.hw_caps->can_shutdown) {
|
||||
/* we don't have the energy menu, but put the sleeptimer directly here */
|
||||
CSleepTimerWidget sleeptimer;
|
||||
misc_menue.addItem(new CMenuForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, g_settings.shutdown_min, &sleeptimer, "permanent", CRCInput::RC_1));
|
||||
mf = new CMenuDForwarder(LOCALE_MISCSETTINGS_SLEEPTIMER, true, g_settings.shutdown_min, new CSleepTimerWidget, "permanent", CRCInput::RC_1);
|
||||
mf->setHint("", LOCALE_MENU_HINT_INACT_TIMER);
|
||||
misc_menue.addItem(mf);
|
||||
}
|
||||
//channellist
|
||||
CMenuWidget misc_menue_chanlist(LOCALE_MISCSETTINGS_HEAD, NEUTRINO_ICON_SETTINGS, width, MN_WIDGET_ID_MISCSETUP_CHANNELLIST);
|
||||
|
Reference in New Issue
Block a user