Commit 841788fa authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

epg: highlight ongoing programs in the epg view

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 5cae846c31adbe5adada090319db54006cbe80e3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 63f811e2
......@@ -60,7 +60,11 @@ void EPGItem::paint( QPainter *painter, const QStyleOptionGraphicsItem*, QWidget
QRectF mapped = deviceTransform( viewPortTransform ).mapRect( boundingRect() );
painter->setPen( QPen( Qt::black ) );
painter->setBrush( QBrush( Qt::blue ) );
if ( m_current )
painter->setBrush( QBrush( Qt::red ) );
else
painter->setBrush( QBrush( Qt::blue ) );
painter->drawRect( mapped );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment