screensaver: disable display of radiotext in radiomode

Origin commit data
------------------
Commit: 17a4cb892a
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-01-25 (Sat, 25 Jan 2020)

Origin message was:
------------------
- screensaver: disable display of radiotext in radiomode
This commit is contained in:
vanhofen
2020-01-25 22:06:47 +01:00
parent 14af953b94
commit c7cff7dd58

View File

@@ -193,13 +193,14 @@ void CScreenSaver::Stop()
#endif
m_frameBuffer->paintBackground(); //clear entire screen
CInfoIcons::getInstance()->enableInfoIcons(status_icons); //NI
CAudioMute::getInstance()->enableMuteIcon(status_mute);
CInfoClock::getInstance()->ClearDisplay(); //provokes reinit
CInfoClock::getInstance()->enableInfoClock();
CInfoIcons::getInstance()->enableInfoIcons(status_icons); //NI
if (g_RadiotextWin)
g_Radiotext->OnAfterDecodeLine.unblock();
@@ -476,6 +477,8 @@ void CScreenSaver::paint()
void CScreenSaver::handleRadioText()
{
return; // disable display of radiotext
if (!g_RadiotextWin)
return;