cc_frm_header: remove alternative logo name

hasLogo() returns always true, this should fix
implementation e.g. of getChannelLogoObject()->hasLogo()


Origin commit data
------------------
Commit: 5406ec16bd
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-18 (Thu, 18 Nov 2021)
This commit is contained in:
2021-11-18 11:32:34 +01:00
committed by vanhofen
parent d69f982eae
commit d4cb7cf1b8

View File

@@ -295,10 +295,7 @@ void CComponentsHeader::initLogo()
int h_logo = cch_logo.dy_max == -1 ? height - OFFSET_INNER_SMALL : cch_logo.dy_max;
if(!cch_logo_obj)
{
cch_logo_obj = new CComponentsChannelLogo(1, height/2 - h_logo/2, cch_logo.Name, cch_logo.Id, this);
cch_logo_obj->setAltLogo("blank");
}
else
cch_logo_obj->setChannel(cch_logo.Id, cch_logo.Name, 0, h_logo);