Commit 866b8474 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt4: Middle mouse click on the InputSlider cause a wrong behaviour

A mouse event was not correctly propagated.
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1bf7f3bd
...@@ -79,6 +79,7 @@ void InputSlider::mouseReleaseEvent( QMouseEvent *event ) ...@@ -79,6 +79,7 @@ void InputSlider::mouseReleaseEvent( QMouseEvent *event )
{ {
b_isSliding = false; b_isSliding = false;
event->accept(); event->accept();
QSlider::mouseReleaseEvent( event );
} }
void InputSlider::mousePressEvent(QMouseEvent* event) void InputSlider::mousePressEvent(QMouseEvent* event)
......
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