[vlmc-devel] commit: TracksView: Fixing clip deletion ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Tue Apr 20 00:52:42 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Tue Apr 20 00:40:17 2010 +0200| [dc9f4e12219325905ac83927ea04b0e9a02038bb] | committer: Hugo Beauzée-Luyssen 

TracksView: Fixing clip deletion

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

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

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 649ff01..853ff76 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -195,7 +195,7 @@ TracksView::removeClip( const QUuid& uuid  )
     // is the one we would like to remove.
     foreach( item, items )
     {
-        if ( item->clipHelper()->uuid() == uuid ||
+        if ( item->clipHelper()->clip()->uuid() == uuid ||
              item->clipHelper()->clip()->isChild( uuid ) == true ) //This is probably useless now
         {
             // This item needs to be removed.



More information about the Vlmc-devel mailing list