- movieplayer/infoviewer: simplify call of showMovieInfo()

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 87bb512534
commit f7025a9a7d
2 changed files with 2 additions and 15 deletions

View File

@@ -1084,14 +1084,7 @@ void CInfoViewer::loop(bool show_dot)
g_RCInput->postMsg (msg, 0);
res = messages_return::cancel_info;
} else if (msg == CRCInput::RC_help || msg == CRCInput::RC_info) {
if (fileplay)
{
CMoviePlayerGui::getInstance().setFromInfoviewer(true);
g_RCInput->postMsg (msg, data);
hideIt = true;
}
else
g_RCInput->postMsg (NeutrinoMessages::SHOW_EPG, 0);
g_RCInput->postMsg(NeutrinoMessages::SHOW_EPG, 0);
res = messages_return::cancel_info;
} else if ((msg == NeutrinoMessages::EVT_TIMER) && (data == fader.GetFadeTimer())) {
if(fader.FadeDone())