mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
add listModeKey() function to simplify these calls
Origin commit data
------------------
Branch: ni/coolstream
Commit: 59b7e3ae36
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-09-09 (Fri, 09 Sep 2016)
Origin message was:
------------------
- add listModeKey() function to simplify these calls
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -980,13 +980,8 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
break;
|
||||
case (CRCInput::RC_timeout):
|
||||
break;
|
||||
|
||||
case (CRCInput::RC_sat):
|
||||
case (CRCInput::RC_favorites):
|
||||
case (CRCInput::RC_www):
|
||||
g_RCInput->postMsg (msg, 0);
|
||||
//close any menue on dbox-key
|
||||
case (CRCInput::RC_setup):
|
||||
//close any menu on menu-key
|
||||
{
|
||||
msg = CRCInput::RC_timeout;
|
||||
retval = menu_return::RETURN_EXIT_ALL;
|
||||
@@ -1003,7 +998,10 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
break;
|
||||
|
||||
default:
|
||||
if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all ) {
|
||||
if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
|
||||
g_RCInput->postMsg (msg, 0);
|
||||
}
|
||||
else if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all ) {
|
||||
retval = menu_return::RETURN_EXIT_ALL;
|
||||
msg = CRCInput::RC_timeout;
|
||||
}
|
||||
|
Reference in New Issue
Block a user