[vlmc-devel] SequenceWorkflow: Remove a useless connection

Yikai Lu git at videolan.org
Mon Aug 22 17:44:46 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Mon Aug 22 10:36:46 2016 -0500| [47912808b87a22172a18fdc447812d012f1a7ff4] | committer: Yikai Lu

SequenceWorkflow: Remove a useless connection

> https://code.videolan.org/videolan/vlmc/commit/47912808b87a22172a18fdc447812d012f1a7ff4
---

 src/Workflow/SequenceWorkflow.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Workflow/SequenceWorkflow.cpp b/src/Workflow/SequenceWorkflow.cpp
index 51ef0e6..2fc5cc0 100644
--- a/src/Workflow/SequenceWorkflow.cpp
+++ b/src/Workflow/SequenceWorkflow.cpp
@@ -94,7 +94,6 @@ SequenceWorkflow::addClip( const QUuid& uuid, quint32 trackId, qint32 pos, bool
     if ( ret == false )
         return QUuid().toString();
     m_clips.insert( newClip->uuid(), std::make_tuple( newClip, trackId, pos ) );
-    connect( newClip.get(), &Clip::destroyed, this, &SequenceWorkflow::removeClip );
     return newClip->uuid().toString();
 }
 



More information about the Vlmc-devel mailing list