infoviewer: fix display of info clock on activated infobar

clock was always visible


Origin commit data
------------------
Branch: ni/coolstream
Commit: bb44c16038
Author: Thilo Graf <dbt@novatux.de>
Date: 2020-01-05 (Sun, 05 Jan 2020)



------------------
This commit was generated by Migit
This commit is contained in:
2020-01-05 22:22:22 +01:00
committed by vanhofen
parent 8e1992b7de
commit 2d5616341d

View File

@@ -727,6 +727,8 @@ void CInfoViewer::showTitle(t_channel_id chid, const bool calledFromNumZap, int
void CInfoViewer::showTitle(CZapitChannel * channel, const bool calledFromNumZap, int epgpos, bool forcePaintButtonBar/*=false*/)
{
CInfoClock::getInstance()->disableInfoClock();
if(!calledFromNumZap && !(zap_mode & IV_MODE_DEFAULT))
resetSwitchMode();
int renderFlag = ((g_settings.theme.infobar_gradient_top) ? Font::FULLBG : 0) | Font::IS_UTF8;