From 2afd30fecf3ab4393dd47f905685151b56db0a22 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 24 Mar 2010 15:38:19 +0100 Subject: [PATCH] lib/service/listboxservice.cpp: fix no more visible event descriptions in channelselection since event progress support --- lib/service/listboxservice.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]) -- 2.7.4