[vlmc-devel] PreviewWidget: Fix lack of position reset when stopping

Hugo Beauzée-Luyssen git at videolan.org
Sun Feb 16 01:34:58 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Feb 16 02:24:11 2014 +0200| [344db6076a5f0286cdcbc4337462cbd493665953] | committer: Hugo Beauzée-Luyssen

PreviewWidget: Fix lack of position reset when stopping

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=344db6076a5f0286cdcbc4337462cbd493665953
---

 src/Gui/preview/PreviewWidget.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Gui/preview/PreviewWidget.cpp b/src/Gui/preview/PreviewWidget.cpp
index 9dbf7b5..c0a4855 100644
--- a/src/Gui/preview/PreviewWidget.cpp
+++ b/src/Gui/preview/PreviewWidget.cpp
@@ -114,7 +114,7 @@ PreviewWidget::changeEvent( QEvent *e )
 void
 PreviewWidget::frameChanged( qint64 currentFrame, Vlmc::FrameChangedReason reason )
 {
-    if ( m_previewStopped == false && reason != Vlmc::PreviewCursor )
+    if ( reason != Vlmc::PreviewCursor )
     {
         m_ui->rulerWidget->setFrame( currentFrame, false );
     }



More information about the Vlmc-devel mailing list