- epgplus: move CEPGplusHandler::exec() code to end of file; ...

* really minor code changes in CEPGDataHandler::exec() and
  CEventListHandler::exec()

No binary changes, just code cosmetic.

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-23 19:48:47 +02:00
committed by Thilo Graf
parent f7025a9a7d
commit edf89c5538
5 changed files with 38 additions and 39 deletions

View File

@@ -1064,6 +1064,9 @@ void CEventList::paintFoot(t_channel_id channel_id)
footer.paintButtons(x, y + height - OFFSET_SHADOW - footer_height, full_width, footer_height, btn_cnt, buttons);
}
// -- Eventlist Menu Handler Class
// -- to be used for calls from Menu
int CEventListHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
{
int res = menu_return::RETURN_EXIT_ALL;
@@ -1072,7 +1075,7 @@ int CEventListHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*
parent->hide();
CEventList *e = new CEventList;
CChannelList *channelList = CNeutrinoApp::getInstance()->channelList;
CChannelList *channelList = CNeutrinoApp::getInstance()->channelList;
e->exec(CZapit::getInstance()->GetCurrentChannelID(), channelList->getActiveChannelName());
delete e;