[vlmc-devel] commit: MediaListView: fixing bug when moving a clip (Hugo Beauzee-Luyssen )

git at videolan.org git at videolan.org
Wed Mar 10 22:24:40 CET 2010


vlmc | branch: master | Hugo Beauzee-Luyssen <beauze.h at gmail.com> | Wed Mar 10 21:15:04 2010 +0100| [f5cbadbddb10463b86ac57558bbc8556034dc607] | committer: Hugo Beauzee-Luyssen 

MediaListView: fixing bug when moving a clip

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

 src/Library/MediaContainer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Library/MediaContainer.cpp b/src/Library/MediaContainer.cpp
index 30215e2..c81d748 100644
--- a/src/Library/MediaContainer.cpp
+++ b/src/Library/MediaContainer.cpp
@@ -124,8 +124,8 @@ MediaContainer::removeClip( const QUuid &uuid )
     if ( it != m_clips.end() )
     {
         Clip* clip = it.value();
-        emit clipRemoved( it.value() );
         m_clips.remove( uuid );
+        emit clipRemoved( clip );
         return clip;
     }
     return NULL;



More information about the Vlmc-devel mailing list