[vlc-devel] commit: Qt4: Middle mouse click on the InputSlider cause a wrong behaviour (Ludovic Fauvet )

git version control git at videolan.org
Tue Apr 21 22:44:26 CEST 2009


vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Tue Apr 21 19:34:44 2009 +0200| [866b8474263eaaf18e4a5c5115045aa02546a1d9] | committer: Jean-Baptiste Kempf 

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

A mouse event was not correctly propagated.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=866b8474263eaaf18e4a5c5115045aa02546a1d9
---

 modules/gui/qt4/util/input_slider.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/util/input_slider.cpp b/modules/gui/qt4/util/input_slider.cpp
index ac6adfa..125e7a9 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -79,6 +79,7 @@ void InputSlider::mouseReleaseEvent( QMouseEvent *event )
 {
     b_isSliding = false;
     event->accept();
+    QSlider::mouseReleaseEvent( event );
 }
 
 void InputSlider::mousePressEvent(QMouseEvent* event)




More information about the vlc-devel mailing list