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