[vlmc-devel] commit: TracksView: Fixing clip adding by drag and drop. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sun Aug 29 17:46:29 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Aug 29 17:46:13 2010 +0200| [8b5704c6377b2796794c1715b96087dae23c5cd1] | committer: Hugo Beauzée-Luyssen 

TracksView: Fixing clip adding by drag and drop.

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

 src/Gui/timeline/TracksView.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 4455a1f..c46d7ca 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -670,6 +670,8 @@ TracksView::dropEvent( QDropEvent *event )
 
     if ( m_dragAudioItem )
     {
+        m_clipsLoaded.insert( m_dragAudioItem->clipHelper()->uuid() );
+
         updateDuration();
         if ( getTrack( Workflow::AudioTrack, m_numAudioTrack - 1 )->childItems().count() > 0 )
             addTrack( Workflow::AudioTrack );
@@ -686,6 +688,8 @@ TracksView::dropEvent( QDropEvent *event )
 
     if ( m_dragVideoItem )
     {
+        m_clipsLoaded.insert( m_dragVideoItem->clipHelper()->uuid() );
+
         updateDuration();
         if ( getTrack( Workflow::VideoTrack, m_numVideoTrack - 1 )->childItems().count() > 0 )
             addTrack( Workflow::VideoTrack );



More information about the Vlmc-devel mailing list