CComponentsHeader/CChannelList: unify methode names

This commit is contained in:
2017-04-21 23:06:02 +02:00
parent 324ba258a0
commit 9ef6c49a23
2 changed files with 7 additions and 7 deletions

View File

@@ -1682,10 +1682,10 @@ void CChannelList::showChannelLogo()
return; return;
if(g_settings.channellist_show_channellogo){ if(g_settings.channellist_show_channellogo){
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName()); header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
header->getLogoObject()->hide(); header->getChannelLogoObject()->hide();
header->getLogoObject()->clearSavedScreen(); header->getChannelLogoObject()->clearSavedScreen();
header->getLogoObject()->allowPaint(true); header->getChannelLogoObject()->allowPaint(true);
header->getLogoObject()->paint(); header->getChannelLogoObject()->paint();
} }
} }
@@ -2155,9 +2155,9 @@ void CChannelList::paintHead()
if(g_settings.channellist_show_channellogo){ if(g_settings.channellist_show_channellogo){
//ensure to have clean background //ensure to have clean background
header->getLogoObject()->hide(); header->getChannelLogoObject()->hide();
header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName()); header->setChannelLogo((*chanlist)[selected]->getChannelID(), (*chanlist)[selected]->getName());
header->getLogoObject()->allowPaint(false); header->getChannelLogoObject()->allowPaint(false);
} }
header->paint(CC_SAVE_SCREEN_NO); header->paint(CC_SAVE_SCREEN_NO);
showChannelLogo(); showChannelLogo();

View File

@@ -326,7 +326,7 @@ class CComponentsHeader : public CComponentsForm, public CCTextScreen
/**Methode to get channel logo object for direct access to its properties and methodes /**Methode to get channel logo object for direct access to its properties and methodes
* @return CComponentsChannelLogoScalable* * @return CComponentsChannelLogoScalable*
*/ */
CComponentsChannelLogoScalable* getLogoObject(){return cch_logo_obj;} CComponentsChannelLogoScalable* getChannelLogoObject(){return cch_logo_obj;}
}; };
//! Sub class of CComponentsHeader. //! Sub class of CComponentsHeader.