mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
epgview: rework CEPGDataHandler::exec() to get work in movieplayer-mode too
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3dc2c47e9d
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-22 (Sun, 22 Jul 2018)
Origin message was:
------------------
- epgview: rework CEPGDataHandler::exec() to get work in movieplayer-mode too
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1730,19 +1730,21 @@ void CEpgData::ResetModules()
|
|||||||
int CEPGDataHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
|
int CEPGDataHandler::exec(CMenuTarget* parent, const std::string &/*actionkey*/)
|
||||||
{
|
{
|
||||||
int res = menu_return::RETURN_EXIT_ALL;
|
int res = menu_return::RETURN_EXIT_ALL;
|
||||||
CChannelList *channelList;
|
|
||||||
CEpgData *e;
|
|
||||||
|
|
||||||
|
if (parent)
|
||||||
if (parent) {
|
|
||||||
parent->hide();
|
parent->hide();
|
||||||
|
|
||||||
|
if (CNeutrinoApp::getInstance()->getMode() == NeutrinoModes::mode_ts)
|
||||||
|
{
|
||||||
|
CMoviePlayerGui::getInstance().showMovieInfo();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
CEpgData *e;
|
||||||
e = new CEpgData;
|
e = new CEpgData;
|
||||||
|
e->show(CNeutrinoApp::getInstance()->channelList->getActiveChannel_ChannelID());
|
||||||
channelList = CNeutrinoApp::getInstance()->channelList;
|
|
||||||
e->show( channelList->getActiveChannel_ChannelID() );
|
|
||||||
delete e;
|
delete e;
|
||||||
|
}
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user