mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user