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

Origin commit data
------------------
Commit: c40361147d
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-11-02 (Fri, 02 Nov 2012)
This commit is contained in:
Jacek Jendrzej
2012-11-02 22:00:01 +01:00
parent 85de1950f0
commit 2fbf107185
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;