[vlc-devel] commit: Fix the "drag slider to 100% when video finishes doesn' t reset thte slider" bug. (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Jul 30 09:16:25 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jul 30 00:16:11 2008 -0700| [47436d221ec0f4e766e4f99db039ef97968b9921]

Fix the "drag slider to 100% when video finishes doesn't reset thte slider" bug.

Reported by fenrir.

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

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

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 26d2bfb..5a62874 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -871,6 +871,7 @@ void ControlsWidget::enableInput( bool enable )
 {
     slowerButton->setEnabled( enable );
     slider->setEnabled( enable );
+    slider->setSliderPosition ( 0 );
     fasterButton->setEnabled( enable );
 
     /* Advanced Buttons too */




More information about the vlc-devel mailing list