[vlc-commits] commit: qt4: don't force pixelsize in soundslider (Ilkka Ollakka )
git at videolan.org
git at videolan.org
Mon May 24 21:16:25 CEST 2010
vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Mon May 24 22:15:49 2010 +0300| [eaf749979dac4eb9d2148bf18d3d48803bafcd8a] | committer: Ilkka Ollakka
qt4: don't force pixelsize in soundslider
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eaf749979dac4eb9d2148bf18d3d48803bafcd8a
---
modules/gui/qt4/util/input_slider.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 19f6ad7..c4f4685 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -322,7 +322,7 @@ void SoundSlider::paintEvent( QPaintEvent *e )
painter.drawPixmap( boundsO, pixOutside, boundsO );
painter.setPen( palette().color( QPalette::Active, QPalette::Mid ) );
- QFont font; font.setPixelSize( 9 );
+ QFont font;
painter.setFont( font );
const QRect rect( 0, 0, 34, 15 );
painter.drawText( rect, Qt::AlignRight | Qt::AlignVCenter,
More information about the vlc-commits
mailing list