[vlc-commits] Qt4: Reduce the margin since the handler is now much smaller

Ludovic Fauvet git at videolan.org
Sat Apr 16 14:23:18 CEST 2011


vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Sat Apr 16 12:06:18 2011 +0200| [2977616bda6d9914e974c2a668b17e15eb9a9e63] | committer: Jean-Baptiste Kempf

Qt4: Reduce the margin since the handler is now much smaller

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

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

 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 319b371..ccf84bb 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -293,7 +293,7 @@ void SeekSlider::paintEvent( QPaintEvent *event )
     if ( option.state & QStyle::State_MouseOver ) {
 
         if ( sliderPos != -1 ) {
-            const int margin = 5;
+            const int margin = 0;
             QSize hs = handleSize() -QSize( 5, 5 );
             QPoint pos;
 



More information about the vlc-commits mailing list