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