Commit 1f2eb819 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt4: fix position updates while sliding

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2977616b
...@@ -146,6 +146,7 @@ void SeekSlider::mouseMoveEvent(QMouseEvent *event) ...@@ -146,6 +146,7 @@ void SeekSlider::mouseMoveEvent(QMouseEvent *event)
if( b_isSliding ) if( b_isSliding )
{ {
setValue( QStyle::sliderValueFromPosition( MINIMUM, MAXIMUM, event->x(), width(), false) ); setValue( QStyle::sliderValueFromPosition( MINIMUM, MAXIMUM, event->x(), width(), false) );
emit sliderMoved( value() );
} }
/* Tooltip */ /* Tooltip */
......
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