mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
neutrino: remove dub code lines
This commit is contained in:
@@ -2039,32 +2039,24 @@ void CNeutrinoApp::RealRun(CMenuWidget &mainMenu)
|
|||||||
else if( msg == (neutrino_msg_t) g_settings.key_tvradio_mode ) {
|
else if( msg == (neutrino_msg_t) g_settings.key_tvradio_mode ) {
|
||||||
switchTvRadioMode(); //used with defined rc key TODO: do we really need this, because we already have a specified key on the remote control
|
switchTvRadioMode(); //used with defined rc key TODO: do we really need this, because we already have a specified key on the remote control
|
||||||
}
|
}
|
||||||
else if( msg == (neutrino_msg_t) g_settings.key_subchannel_up ) {
|
else if( msg == (neutrino_msg_t) g_settings.key_subchannel_up || msg == (neutrino_msg_t) g_settings.key_subchannel_down) {
|
||||||
if( !g_RemoteControl->subChannels.empty() ) {
|
if( !g_RemoteControl->subChannels.empty() ) {
|
||||||
StopSubtitles();
|
StopSubtitles();
|
||||||
g_RemoteControl->subChannelUp();
|
if( msg == (neutrino_msg_t) g_settings.key_subchannel_up )
|
||||||
|
g_RemoteControl->subChannelUp();
|
||||||
|
else if( msg == (neutrino_msg_t) g_settings.key_subchannel_down )
|
||||||
|
g_RemoteControl->subChannelDown();
|
||||||
g_InfoViewer->showSubchan();
|
g_InfoViewer->showSubchan();
|
||||||
} else if (g_settings.mode_left_right_key_tv == SNeutrinoSettings::VOLUME) {
|
}
|
||||||
|
else if (g_settings.mode_left_right_key_tv == SNeutrinoSettings::VOLUME) {
|
||||||
g_volume->setVolume(msg, true);
|
g_volume->setVolume(msg, true);
|
||||||
} else if((g_settings.mode_left_right_key_tv == SNeutrinoSettings::VZAP) || (g_settings.mode_left_right_key_tv == SNeutrinoSettings::INFOBAR)) {
|
}
|
||||||
|
else if((g_settings.mode_left_right_key_tv == SNeutrinoSettings::VZAP) || (g_settings.mode_left_right_key_tv == SNeutrinoSettings::INFOBAR)) {
|
||||||
if(channelList->getSize()) {
|
if(channelList->getSize()) {
|
||||||
showInfo();
|
showInfo();
|
||||||
}
|
}
|
||||||
} else
|
}
|
||||||
quickZap( msg );
|
else
|
||||||
}
|
|
||||||
else if( msg == (neutrino_msg_t) g_settings.key_subchannel_down ) {
|
|
||||||
if( !g_RemoteControl->subChannels.empty() ) {
|
|
||||||
StopSubtitles();
|
|
||||||
g_RemoteControl->subChannelDown();
|
|
||||||
g_InfoViewer->showSubchan();
|
|
||||||
} else if(g_settings.mode_left_right_key_tv == SNeutrinoSettings::VOLUME) {
|
|
||||||
g_volume->setVolume(msg, true);
|
|
||||||
} else if((g_settings.mode_left_right_key_tv == SNeutrinoSettings::VZAP) || (g_settings.mode_left_right_key_tv == SNeutrinoSettings::INFOBAR)) {
|
|
||||||
if(channelList->getSize()) {
|
|
||||||
showInfo();
|
|
||||||
}
|
|
||||||
} else
|
|
||||||
quickZap( msg );
|
quickZap( msg );
|
||||||
}
|
}
|
||||||
/* in case key_subchannel_up/down redefined */
|
/* in case key_subchannel_up/down redefined */
|
||||||
|
Reference in New Issue
Block a user