gui/channellist.cpp: remove unused if/else in CChannelList::paintDetails

This commit is contained in:
[CST] Focus
2012-04-05 19:57:49 +04:00
parent 432925be80
commit 7abc312042

View File

@@ -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()
{