diff --git a/src/neutrino.cpp b/src/neutrino.cpp index decdc70fe..a8d39c17d 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -78,6 +78,7 @@ #include "gui/plugins.h" #include "gui/rc_lock.h" #include "gui/scan_setup.h" +#include "gui/sleeptimer.h" #include "gui/start_wizard.h" #include "gui/videosettings.h" @@ -2576,6 +2577,12 @@ _repeat: g_videoSettings->SwitchFormat(); return messages_return::handled; } + else if( msg == CRCInput::RC_sleep ) { + CSleepTimerWidget *sleepTimer = new CSleepTimerWidget; + sleepTimer->exec(NULL, ""); + delete sleepTimer; + return messages_return::handled; + } else if (msg == (neutrino_msg_t) g_settings.key_screenshot) { //video+osd scaled to osd size CScreenShot * sc = new CScreenShot("", (CScreenShot::screenshot_format_t)g_settings.screenshot_format);