vlc | branch: master | Francois Cartegnie <[email protected]> | Wed Mar 23 21:35:07 2011 +0100| [f4eecbd67fa506b8ceed64eb3b52c8965275d720] | committer: Francois Cartegnie
Qt: EPG: thicker ruler timeline > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4eecbd67fa506b8ceed64eb3b52c8965275d720 --- modules/gui/qt4/components/epg/EPGRuler.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/components/epg/EPGRuler.cpp b/modules/gui/qt4/components/epg/EPGRuler.cpp index d7a3ca0..7605391 100644 --- a/modules/gui/qt4/components/epg/EPGRuler.cpp +++ b/modules/gui/qt4/components/epg/EPGRuler.cpp @@ -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 ); } } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
