]> git.sesse.net Git - vlc/commitdiff
Qt4: Middle mouse click on the InputSlider cause a wrong behaviour
authorLudovic Fauvet <etix@l0cal.com>
Tue, 21 Apr 2009 17:34:44 +0000 (19:34 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 21 Apr 2009 20:44:09 +0000 (22:44 +0200)
A mouse event was not correctly propagated.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/util/input_slider.cpp

index ac6adfa591ea62e9a2379408c5c6bc0276304e70..125e7a946b6e77b535615e57299a7e1e26bc4e19 100644 (file)
@@ -79,6 +79,7 @@ void InputSlider::mouseReleaseEvent( QMouseEvent *event )
 {
     b_isSliding = false;
     event->accept();
+    QSlider::mouseReleaseEvent( event );
 }
 
 void InputSlider::mousePressEvent(QMouseEvent* event)