Commit c7d8dd75 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: code simplification

(cherry picked from commit 02631b2e668f3badc8c6a3349f946d146f4afcdd)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d3812045
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment