CChannellist: remove calculateElements()

is already included in print()clHead->paint() and refreshElement()


Origin commit data
------------------
Branch: ni/coolstream
Commit: 936e965909
Author: Thilo Graf <dbt@novatux.de>
Date: 2012-08-30 (Thu, 30 Aug 2012)



------------------
This commit was generated by Migit
This commit is contained in:
2012-08-30 22:05:09 +02:00
parent e64ad46936
commit a974ef0652

View File

@@ -2005,8 +2005,6 @@ void CChannelList::paintHead()
clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_CLOCK); clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_CLOCK);
clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_PICTURE, "", &indexLogo); clHead->addElement(CC_ALIGN_RIGHT, CC_ITEMBOX_PICTURE, "", &indexLogo);
} }
clHead->calculateElements();
clHead->paint(); clHead->paint();
} }
@@ -2017,7 +2015,6 @@ void CChannelList::showChannelLogo()
int dummy; int dummy;
g_PicViewer->GetLogoName(chanlist[selected]->channel_id, chanlist[selected]->getName(), lname, &dummy, &dummy); g_PicViewer->GetLogoName(chanlist[selected]->channel_id, chanlist[selected]->getName(), lname, &dummy, &dummy);
clHead->refreshElement(indexLogo, lname); clHead->refreshElement(indexLogo, lname);
clHead->calculateElements();
clHead->paintElement(indexLogo, true); clHead->paintElement(indexLogo, true);
} }
} }