moviebrowser: bind display of channelogo to g_settings.channellist_show_channellogo

Origin commit data
------------------
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
This commit is contained in:
vanhofen
2017-05-23 17:58:53 +02:00
parent ed4afb62c8
commit 6e4b9acf50

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;