Commit 44902c2e authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: StatsView: don't scale line width (fix #12853)

parent 79e5fa67
...@@ -58,6 +58,7 @@ VLCStatsView::VLCStatsView( QWidget *parent ) : QGraphicsView( parent ) ...@@ -58,6 +58,7 @@ VLCStatsView::VLCStatsView( QWidget *parent ) : QGraphicsView( parent )
reset(); reset();
QPen linepen( Qt::DotLine ); QPen linepen( Qt::DotLine );
linepen.setCosmetic( true );
linepen.setBrush( QBrush( QColor( 33, 33, 33 ) ) ); linepen.setBrush( QBrush( QColor( 33, 33, 33 ) ) );
for ( int i=0; i<3; i++ ) for ( int i=0; i<3; i++ )
rulers[i] = viewScene->addLine( QLineF(), linepen ); rulers[i] = viewScene->addLine( QLineF(), linepen );
......
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