mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
gui/channellist.cpp: remove unused if/else in CChannelList::paintDetails
This commit is contained in:
@@ -1426,12 +1426,6 @@ void CChannelList::paintDetails(int index)
|
||||
p_event = &chanlist[index]->currentEvent;
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (chanlist[index]->currentEvent.description.empty()) {
|
||||
frameBuffer->paintBackgroundBoxRel(x, y+ height, width, info_height);
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
frameBuffer->paintBoxRel(x+2, y + height + 2, width-4, info_height - 4, COL_MENUCONTENTDARK_PLUS_0, RADIUS_LARGE);//round
|
||||
|
||||
if (!p_event->description.empty()) {
|
||||
@@ -1551,7 +1545,6 @@ void CChannelList::paintDetails(int index)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CChannelList::clearItem2DetailsLine()
|
||||
{
|
||||
|
Reference in New Issue
Block a user