gui/movieplayer.cpp, neutrino.cpp: call infoviewer with channel as param

This commit is contained in:
[CST] Focus
2015-06-02 15:17:00 +03:00
parent 15b212a939
commit 4322f24651
2 changed files with 2 additions and 14 deletions

View File

@@ -2140,16 +2140,7 @@ void CNeutrinoApp::numericZap(int msg)
void CNeutrinoApp::showInfo()
{
StopSubtitles();
char *pname = NULL;
if(g_settings.infobar_show_channeldesc){
CZapitChannel* channel = channelList->getActiveChannel();
if(channel->pname){
pname = channel->pname;
}
}
g_InfoViewer->showTitle(channelList->getActiveChannelNumber(), channelList->getActiveChannelName(), channelList->getActiveSatellitePosition(), channelList->getActiveChannel_ChannelID(), false, 0, pname);
g_InfoViewer->showTitle(channelList->getActiveChannel());
StartSubtitles();
}