From 6bc2a8a5d8ba532a2fde4a9c811eea56207bcd77 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sun, 22 Jan 2012 09:30:30 +0100 Subject: [PATCH] neutrino: do not display expired events in channel list --- src/gui/channellist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 9c877629d..f6717c507 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2,7 +2,7 @@ Neutrino-GUI - DBoxII-Project Copyright (C) 2001 Steffen Hehn 'McClean' - Homepage: http://dbox.cyberphoria.org/ + Copyright (C) 2007-2012 Stefan Seyfried Kommentar: @@ -205,7 +205,7 @@ void CChannelList::updateEvents(unsigned int from, unsigned int to) CChannelEventList levents; CEitManager::getInstance()->getChannelEvents(levents, p_requested_channels, chanlist_size); for (uint32_t count=0; count < chanlist_size; count++) { - chanlist[count]->currentEvent = CChannelEvent(); + chanlist[count + from]->currentEvent = CChannelEvent(); for (CChannelEventList::iterator e = levents.begin(); e != levents.end(); ++e) { if ((chanlist[count + from]->channel_id&0xFFFFFFFFFFFFULL) == e->get_channel_id()) { chanlist[count + from]->currentEvent = *e;