[vlmc-devel] commit: TracksView: Fixing a bug when moving an effect from clip to track ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Wed Sep 15 23:26:27 CEST 2010


vlmc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Wed Sep 15 23:27:03 2010 +0200| [3706d90f358cf214544c9b091d470b642d0d8272] | committer: Hugo Beauzée-Luyssen 

TracksView: Fixing a bug when moving an effect from clip to track

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

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

diff --git a/src/Gui/timeline/TracksView.cpp b/src/Gui/timeline/TracksView.cpp
index 00a5a27..a79233d 100644
--- a/src/Gui/timeline/TracksView.cpp
+++ b/src/Gui/timeline/TracksView.cpp
@@ -905,6 +905,7 @@ TracksView::mouseMoveEvent( QMouseEvent *event )
         if ( effectItem != NULL )
         {
             QList<QGraphicsItem*>   list = m_actionItem->collidingItems();
+            m_effectTarget = NULL;
             foreach ( QGraphicsItem *collidingItem, list )
             {
                 AbstractGraphicsMediaItem   *mediaItem = dynamic_cast<AbstractGraphicsMediaItem*>( collidingItem );
@@ -914,6 +915,7 @@ TracksView::mouseMoveEvent( QMouseEvent *event )
                     break ;
                 }
             }
+            qDebug() << (void*)m_effectTarget;
         }
     }
     else if ( event->modifiers() == Qt::NoModifier &&



More information about the Vlmc-devel mailing list