mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
ChannelList::quickZap -record mode- should zap if possible, else display transponderlist
Origin commit data
------------------
Branch: ni/coolstream
Commit: a01551d360
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2013-05-25 (Sat, 25 May 2013)
Origin message was:
------------------
ChannelList::quickZap -record mode- should zap if possible, else display transponderlist
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1535,17 +1535,21 @@ void CChannelList::virtual_zap_mode(bool up)
|
||||
}
|
||||
}
|
||||
|
||||
void CChannelList::quickZap(int key, bool /* cycle */)
|
||||
bool CChannelList::quickZap(int key, bool /* cycle */)
|
||||
{
|
||||
if(chanlist.empty())
|
||||
return;
|
||||
return true;
|
||||
|
||||
unsigned int sl = selected;
|
||||
/* here selected value doesnt matter, zap will do adjust */
|
||||
CZapitChannel* channel = getPrevNextChannel(key, sl);
|
||||
if(channel)
|
||||
bool ret = false;
|
||||
if(channel && SameTP(channel)) {
|
||||
CNeutrinoApp::getInstance()->channelList->zapToChannel(channel);
|
||||
ret = true;
|
||||
}
|
||||
g_RCInput->clearRCMsg(); //FIXME test for n.103
|
||||
return ret;
|
||||
}
|
||||
|
||||
void CChannelList::paintDetails(int index)
|
||||
|
Reference in New Issue
Block a user