mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CChannellist: remove calculateElements()
is already included in print()clHead->paint() and refreshElement()
This commit is contained in:
@@ -2005,8 +2005,6 @@ void CChannelList::paintHead()
|
||||
clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_CLOCK);
|
||||
clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_PICTURE, "", &indexLogo);
|
||||
}
|
||||
|
||||
clHead->calculateElements();
|
||||
clHead->paint();
|
||||
}
|
||||
|
||||
@@ -2017,7 +2015,6 @@ void CChannelList::showChannelLogo()
|
||||
int dummy;
|
||||
g_PicViewer->GetLogoName(chanlist[selected]->channel_id, chanlist[selected]->getName(), lname, &dummy, &dummy);
|
||||
clHead->refreshElement(indexLogo, lname);
|
||||
clHead->calculateElements();
|
||||
clHead->paintElement(indexLogo, true);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user