eventlist: bind display of channelogo to g_settings.channellist_show_channellogo

Origin commit data
------------------
Branch: ni/coolstream
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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-05-23 17:58:53 +02:00
parent 987dd9ea8c
commit 8a0e162d85

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);