src/gui/epgview.cpp:check res after exec

This commit is contained in:
satbaby
2012-11-02 22:00:01 +01:00
parent 618fa78a5a
commit c40361147d
2 changed files with 14 additions and 17 deletions

View File

@@ -973,16 +973,11 @@ void CNeutrinoEventList::showFunctionBar (bool show, t_channel_id channel_id)
int CEventListHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
{
int res = menu_return::RETURN_EXIT_ALL;
CNeutrinoEventList *e;
CChannelList *channelList;
if (parent) {
parent->hide();
}
e = new CNeutrinoEventList;
channelList = CNeutrinoApp::getInstance()->channelList;
CNeutrinoEventList *e = new CNeutrinoEventList;
CChannelList *channelList = CNeutrinoApp::getInstance()->channelList;
e->exec(CZapit::getInstance()->GetCurrentChannelID(), channelList->getActiveChannelName()); // UTF-8
delete e;