eventlist: bind display of channelogo to g_settings.channellist_show_channellogo

Origin commit data
------------------
Commit: af59d90248
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-23 (Tue, 23 May 2017)

Origin message was:
------------------
- eventlist: bind display of channelogo to g_settings.channellist_show_channellogo
This commit is contained in:
vanhofen
2017-05-23 17:58:53 +02:00
parent 6e4b9acf50
commit a38a0b0e1d

View File

@@ -895,8 +895,9 @@ void CEventList::paintHead(t_channel_id _channel_id, std::string _channelname, s
if (header->isPainted())
header->getChannelLogoObject()->hide();
header->setChannelLogo(_channel_id,_channelname);
header->setCaption(_channelname, CCHeaderTypes::CC_TITLE_CENTER);
if (g_settings.channellist_show_channellogo) //NI
header->setChannelLogo(_channel_id,_channelname);
header->setCaption(_channelname); //NI
header->paint(CC_SAVE_SCREEN_NO);