[vlc-commits] Qt4: fix position updates while sliding
Ludovic Fauvet
git at videolan.org
Sat Apr 16 14:23:18 CEST 2011
vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Sat Apr 16 12:17:20 2011 +0200| [1f2eb8199b529331ef8fc4a6584f9edf0359ab17] | committer: Jean-Baptiste Kempf
Qt4: fix position updates while sliding
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f2eb8199b529331ef8fc4a6584f9edf0359ab17
---
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 ccf84bb..f4bfb01 100644
--- a/modules/gui/qt4/util/input_slider.cpp
+++ b/modules/gui/qt4/util/input_slider.cpp
@@ -146,6 +146,7 @@ void SeekSlider::mouseMoveEvent(QMouseEvent *event)
if( b_isSliding )
{
setValue( QStyle::sliderValueFromPosition( MINIMUM, MAXIMUM, event->x(), width(), false) );
+ emit sliderMoved( value() );
}
/* Tooltip */
More information about the vlc-commits
mailing list