[vlmc-devel] MediaListView: Fix not loading sub clips

Yikai Lu git at videolan.org
Sun Jun 26 06:01:35 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Wed Jun 15 23:56:11 2016 +0900| [89fec977d3decf35e9824da574539d636117740f] | committer: Yikai Lu

MediaListView: Fix not loading sub clips

> https://code.videolan.org/videolan/vlmc/commit/89fec977d3decf35e9824da574539d636117740f
---

 src/Gui/library/MediaListView.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Gui/library/MediaListView.cpp b/src/Gui/library/MediaListView.cpp
index a98d3ce..11a709e 100644
--- a/src/Gui/library/MediaListView.cpp
+++ b/src/Gui/library/MediaListView.cpp
@@ -111,6 +111,8 @@ MediaListView::showSubClips( const QUuid &uuid )
 {
     Clip    *clip = m_mediaContainer->clip( uuid );
     MediaListView* view = new MediaListView( m_nav );
+    connect( view, &MediaListView::clipSelected, this, &MediaListView::clipSelected );
+    connect( view, &MediaListView::clipRemoved, this, &MediaListView::clipRemoved );
     view->setMediaContainer( clip->mediaContainer() );
     clip->mediaContainer()->reloadAllClips();
     m_nav->pushViewController( view );



More information about the Vlmc-devel mailing list