[vlc-commits] Qt: code simplification
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 5 19:29:31 CET 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 5 19:29:32 2012 +0100| [02631b2e668f3badc8c6a3349f946d146f4afcdd] | committer: Jean-Baptiste Kempf
Qt: code simplification
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=02631b2e668f3badc8c6a3349f946d146f4afcdd
---
modules/gui/qt4/util/input_slider.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index 1798268..ecbcd25 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -387,10 +387,10 @@ void SeekSlider::paintEvent( QPaintEvent *event )
switch ( orientation() )
{
case Qt::Horizontal:
- barRect.setHeight( handleSize().height() /2 );
+ barRect.setHeight( height() /2 );
break;
case Qt::Vertical:
- barRect.setWidth( handleSize().width() /2 );
+ barRect.setWidth( width() /2 );
break;
}
More information about the vlc-commits
mailing list