[vlc-commits] Qt: StatsView: don't scale line width (fix #12853)

Francois Cartegnie git at videolan.org
Sat Nov 29 12:31:26 CET 2014


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Nov 29 12:17:27 2014 +0100| [c4da9e0d0e6d902f671f4bff364f1341a009929c] | committer: Jean-Baptiste Kempf

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

(cherry picked from commit 44902c2ec03ed7628a2fdd943583f62e8fa74e9b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=c4da9e0d0e6d902f671f4bff364f1341a009929c
---

 modules/gui/qt4/components/info_widgets.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt4/components/info_widgets.cpp b/modules/gui/qt4/components/info_widgets.cpp
index fa2df79..b6aa93c 100644
--- a/modules/gui/qt4/components/info_widgets.cpp
+++ b/modules/gui/qt4/components/info_widgets.cpp
@@ -58,6 +58,7 @@ VLCStatsView::VLCStatsView( QWidget *parent ) : QGraphicsView( parent )
     reset();
 
     QPen linepen( Qt::DotLine );
+    linepen.setCosmetic( true );
     linepen.setBrush( QBrush( QColor( 33, 33, 33 ) ) );
     for ( int i=0; i<3; i++ )
         rulers[i] = viewScene->addLine( QLineF(), linepen );



More information about the vlc-commits mailing list