From: ghost Date: Wed, 24 Mar 2010 14:38:19 +0000 (+0100) Subject: lib/service/listboxservice.cpp: fix no more visible event descriptions in channelsele... X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=2afd30fecf3ab4393dd47f905685151b56db0a22 lib/service/listboxservice.cpp: fix no more visible event descriptions in channelselection since event progress support --- diff --git a/lib/service/listboxservice.cpp b/lib/service/listboxservice.cpp index faee1ee..9de88c1 100644 --- a/lib/service/listboxservice.cpp +++ b/lib/service/listboxservice.cpp @@ -585,7 +585,7 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const } case celServiceInfo: { - if ( isPlayable && evt ) + if ( isPlayable && (evt || !service_info->getEvent(*m_cursor, evt)) ) { std::string name = evt->getEventName(); if (!name.length()) @@ -685,7 +685,6 @@ void eListboxServiceContent::paint(gPainter &painter, eWindowStyle &style, const eRect area = m_element_position[p]; if (area.width() > 0 && (isPlayable || isMarker)) { - if ( isPlayable && service_info && !service_info->getEvent(*m_cursor, evt) ) { if (!selected && m_color_set[serviceEventProgressbarBorderColor])