mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- add listModeKey() function to simplify these calls
This commit is contained in:
@@ -652,11 +652,12 @@ int CEventList::exec(const t_channel_id channel_id, const std::string& channelna
|
||||
in_search = findEvents(channel_id, channelname);
|
||||
timeoutEnd = CRCInput::calcTimeoutEnd(g_settings.timing[SNeutrinoSettings::TIMING_EPG]);
|
||||
}
|
||||
else if (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites || msg == CRCInput::RC_www) {
|
||||
else if (CNeutrinoApp::getInstance()->listModeKey(msg)) {
|
||||
g_RCInput->postMsg (msg, 0);
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
loop = false;
|
||||
} else if (msg == NeutrinoMessages::EVT_SERVICESCHANGED || msg == NeutrinoMessages::EVT_BOUQUETSCHANGED) {
|
||||
}
|
||||
else if (msg == NeutrinoMessages::EVT_SERVICESCHANGED || msg == NeutrinoMessages::EVT_BOUQUETSCHANGED) {
|
||||
g_RCInput->postMsg(msg, data);
|
||||
loop = false;
|
||||
res = menu_return::RETURN_EXIT_ALL;
|
||||
|
Reference in New Issue
Block a user