moviebrowser: bind display of channelogo to g_settings.channellist_show_channellogo

Origin commit data
------------------
Branch: ni/coolstream
Commit: d2da458a94
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-05-23 (Tue, 23 May 2017)

Origin message was:
------------------
- moviebrowser: 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 8ddf219272
commit 987dd9ea8c

View File

@@ -1393,6 +1393,18 @@ std::string CMovieBrowser::getScreenshotName(std::string movie, bool is_dir)
void CMovieBrowser::refreshChannelLogo(void)
{
//NI
if (!g_settings.channellist_show_channellogo)
{
if (m_channelLogo)
{
m_channelLogo->hide();
delete m_channelLogo;
m_channelLogo = NULL;
}
return;
}
TRACE("[mb]->%s:%d\n", __func__, __LINE__);
int w_logo_max = m_cBoxFrameTitleRel.iWidth / 4;