[vlc-commits] Qt: code simplification
Jean-Baptiste Kempf
git at videolan.org
Thu Jan 5 23:19:06 CET 2012
vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 5 19:29:32 2012 +0100| [c7d8dd75c13094411a8aae03f03dcca724295479] | committer: Jean-Baptiste Kempf
Qt: code simplification
(cherry picked from commit 02631b2e668f3badc8c6a3349f946d146f4afcdd)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=c7d8dd75c13094411a8aae03f03dcca724295479
---
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