mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- neutrino: use key 'sleep' to execute CSleepTimerWidget
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user