Commit 1f7f4e27 authored by Francois Cartegnie's avatar Francois Cartegnie Committed by Jean-Baptiste Kempf

Qt: SeekSlider: keep bottom chapter marks only

(cherry picked from commit 387a1c1eda8c7f867392f3f3ab301a18de942945)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9bec2c3a
...@@ -469,7 +469,6 @@ void SeekSlider::paintEvent( QPaintEvent *event ) ...@@ -469,7 +469,6 @@ void SeekSlider::paintEvent( QPaintEvent *event )
int x = point.time / 1000000.0 / inputLength * size().width(); int x = point.time / 1000000.0 / inputLength * size().width();
painter.setPen( foreground ); painter.setPen( foreground );
painter.setBrush( Qt::NoBrush ); painter.setBrush( Qt::NoBrush );
painter.drawLine( x, 0, x, CHAPTERSSPOTSIZE );
painter.drawLine( x, height(), x, height() - CHAPTERSSPOTSIZE ); painter.drawLine( x, height(), x, height() - CHAPTERSSPOTSIZE );
} }
} }
......
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