[vlmc-devel] PreviewRuler: Update when length changed
Yikai Lu
git at videolan.org
Mon Jul 4 15:34:04 CEST 2016
vlmc | branch: medialibrary | Yikai Lu <luyikei.qmltu at gmail.com> | Wed Jun 15 23:57:12 2016 +0900| [a881359e1ee8b9cc3fd8e862a4165336b5ab2ea4] | committer: Yikai Lu
PreviewRuler: Update when length changed
> https://code.videolan.org/videolan/vlmc/commit/a881359e1ee8b9cc3fd8e862a4165336b5ab2ea4
---
src/Gui/preview/PreviewRuler.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Gui/preview/PreviewRuler.cpp b/src/Gui/preview/PreviewRuler.cpp
index cbfae65..b7b94b7 100644
--- a/src/Gui/preview/PreviewRuler.cpp
+++ b/src/Gui/preview/PreviewRuler.cpp
@@ -49,6 +49,7 @@ PreviewRuler::setRenderer( AbstractRenderer* renderer )
this, &PreviewRuler::updateTimecode );
connect( m_renderer->eventWatcher(), SIGNAL( stopped() ),
this, SLOT( clear() ) );
+ connect( m_renderer, SIGNAL( lengthChanged(qint64) ), this, SLOT( update() ) );
}
void
More information about the Vlmc-devel
mailing list