[vlc-commits] commit: Qt: use SmallSize for the volume slider (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Fri Dec 10 16:19:11 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Dec 10 15:52:56 2010 +0100| [f6b7fd14b8828437dd496f78edaa06a993db8142] | committer: Jean-Baptiste Kempf 

Qt: use SmallSize for the volume slider

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

 modules/gui/qt4/components/controller_widget.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/controller_widget.cpp b/modules/gui/qt4/components/controller_widget.cpp
index 328ec14..b6208b5 100644
--- a/modules/gui/qt4/components/controller_widget.cpp
+++ b/modules/gui/qt4/components/controller_widget.cpp
@@ -93,6 +93,7 @@ SoundWidget::SoundWidget( QWidget *_parent, intf_thread_t * _p_intf,
     else
     {
         volumeSlider = new QSlider( NULL );
+        volumeSlider->setAttribute( Qt::WA_MacSmallSize);
         volumeSlider->setOrientation( b_special ? Qt::Vertical
                                                 : Qt::Horizontal );
         volumeSlider->setMaximum( var_InheritBool( p_intf, "qt-volume-complete" )



More information about the vlc-commits mailing list