From b2eb4b1889c3a15284336e1fa1ce2c9e2caed667 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Tue, 7 Feb 2017 17:06:11 +0100 Subject: [PATCH] CScreenSaver: ensure full cleanup of infoclock after stopped screensaver This provokes re init of info clock. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/622e7a4dd259ccf1c2b963f354091b59415abae7 Author: Thilo Graf Date: 2017-02-07 (Tue, 07 Feb 2017) ------------------ This commit was generated by Migit --- src/gui/screensaver.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/screensaver.cpp b/src/gui/screensaver.cpp index 7c3b50b5a..7532803a0 100644 --- a/src/gui/screensaver.cpp +++ b/src/gui/screensaver.cpp @@ -143,10 +143,12 @@ void CScreenSaver::Stop() m_frameBuffer->paintBackground(); //clear entire screen CAudioMute::getInstance()->enableMuteIcon(status_mute); - if (!OnAfterStop.empty()) + if (!OnAfterStop.empty()){ OnAfterStop(); - else + }else{ + CInfoClock::getInstance()->ClearDisplay(); //provokes reinit CInfoClock::getInstance()->enableInfoClock(); + } } void* CScreenSaver::ScreenSaverPrg(void* arg)