From b741f4f565664de16f1f0f88a0178b0bf6b689e8 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 17 Feb 2015 21:18:54 +0100 Subject: [PATCH] miscsettings: use correct SleepTimerWidget invocation Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2d4c6eedad92c9004e6f2cbbf97ce0a7601efa8a Author: Stefan Seyfried Date: 2015-02-17 (Tue, 17 Feb 2015) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/miscsettings_menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/miscsettings_menu.cpp b/src/gui/miscsettings_menu.cpp index 7640a220d..c85968575 100644 --- a/src/gui/miscsettings_menu.cpp +++ b/src/gui/miscsettings_menu.cpp @@ -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); }