From 9da1d60dcb1a0d2572d26d02f96fc386fbde9fcd Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 30 Dec 2014 00:53:31 +0100 Subject: [PATCH] screensaver: disable clock while screesaver Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/7c9a158f114bf2d5ec4d2913a579502d72b01ae2 Author: vanhofen Date: 2014-12-30 (Tue, 30 Dec 2014) Origin message was: ------------------ - screensaver: disable clock while screesaver ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/screensaver.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index e66dbfbca..acf61be32 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -37,6 +37,9 @@ #include "audiomute.h" #include "screensaver.h" +#include +extern CInfoClock *InfoClock; + #include extern cVideo * videoDecoder; @@ -73,6 +76,7 @@ CScreenSaver* CScreenSaver::getInstance() void CScreenSaver::Start() { CAudioMute::getInstance()->enableMuteIcon(false); + InfoClock->enableInfoClock(false); m_viewer->SetScaling((CPictureViewer::ScalingMode)g_settings.picviewer_scaling); m_viewer->SetVisible(g_settings.screen_StartX, g_settings.screen_EndX, g_settings.screen_StartY, g_settings.screen_EndY); @@ -108,6 +112,7 @@ void CScreenSaver::Stop() thrScreenSaver = 0; m_frameBuffer->paintBackground(); //clear entire screen + InfoClock->enableInfoClock(true); CAudioMute::getInstance()->enableMuteIcon(true); }