[vlc-commits] Qt: reinstate ticks under speed slider

Jean-Baptiste Kempf git at videolan.org
Thu Feb 23 13:21:59 CET 2012


vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 23 13:16:25 2012 +0100| [17e890422a48e44a68d5ae26dd5337b3d82f835d] | committer: Jean-Baptiste Kempf

Qt: reinstate ticks under speed slider
(cherry picked from commit 863692af6914187afd09eba7f84c6e95361ab38f)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 419b5e6..7a9550f 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -395,6 +395,7 @@ SpeedControlWidget::SpeedControlWidget( intf_thread_t *_p_i, QWidget *_parent )
     speedSlider->setSizePolicy( sizePolicy );
     speedSlider->setMinimumSize( QSize( 140, 20 ) );
     speedSlider->setOrientation( Qt::Horizontal );
+    speedSlider->setTickPosition( QSlider::TicksBelow );
 
     speedSlider->setRange( -34, 34 );
     speedSlider->setSingleStep( 1 );



More information about the vlc-commits mailing list