Commit f4eecbd6 authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: EPG: thicker ruler timeline

parent c93ea88c
......@@ -98,7 +98,9 @@ void EPGRuler::paintEvent( QPaintEvent *event )
posx = localStartTime.secsTo( QDateTime::currentDateTime() ) * m_scale;
if ( posx <= width() && posx >= 0 )
{
p.setPen( QPen( QColor( 255, 0 , 0, 128 ) ) );
p.drawLine( posx, 15, posx, 30 );
QPen pen( QPen( QColor( 255, 0 , 0, 128 ) ) );
pen.setWidth( 3 );
p.setPen( pen );
p.drawLine( posx - 1, 15, posx - 1, 30 );
}
}
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