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

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7abc312042
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-04-05 (Thu, 05 Apr 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2012-04-05 19:57:49 +04:00
parent 53281a02d5
commit df0ec5fec3

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()) {
@@ -1550,7 +1544,6 @@ void CChannelList::paintDetails(int index)
g_Font[SNeutrinoSettings::FONT_TYPE_CHANNELLIST_DESCR]->RenderString(x+ width- 10- from_len, y+ height+ 5+ 3*fheight, from_len, cFrom, colored_event_N ? COL_COLORED_EVENTS_CHANNELLIST : COL_MENUCONTENTDARK, 0, true); // UTF-8
}
}
}
}
void CChannelList::clearItem2DetailsLine()