mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CScreenSaver: ensure full cleanup of infoclock after stopped screensaver
This provokes re init of info clock.
This commit is contained in:
@@ -143,10 +143,12 @@ void CScreenSaver::Stop()
|
|||||||
m_frameBuffer->paintBackground(); //clear entire screen
|
m_frameBuffer->paintBackground(); //clear entire screen
|
||||||
|
|
||||||
CAudioMute::getInstance()->enableMuteIcon(status_mute);
|
CAudioMute::getInstance()->enableMuteIcon(status_mute);
|
||||||
if (!OnAfterStop.empty())
|
if (!OnAfterStop.empty()){
|
||||||
OnAfterStop();
|
OnAfterStop();
|
||||||
else
|
}else{
|
||||||
|
CInfoClock::getInstance()->ClearDisplay(); //provokes reinit
|
||||||
CInfoClock::getInstance()->enableInfoClock();
|
CInfoClock::getInstance()->enableInfoClock();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void* CScreenSaver::ScreenSaverPrg(void* arg)
|
void* CScreenSaver::ScreenSaverPrg(void* arg)
|
||||||
|
Reference in New Issue
Block a user