[vlmc-devel] [PATCH] SequenceWorkflow: optimize unnecessary clip->uuid

Hieu Pham phamhuuquanghieu at gmail.com
Fri Mar 31 08:30:49 CEST 2017


---
 src/Workflow/SequenceWorkflow.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Workflow/SequenceWorkflow.cpp b/src/Workflow/SequenceWorkflow.cpp
index c23643e..8b332bf 100644
--- a/src/Workflow/SequenceWorkflow.cpp
+++ b/src/Workflow/SequenceWorkflow.cpp
@@ -187,9 +187,9 @@ SequenceWorkflow::linkClips( const QUuid& uuidA, const QUuid& uuidB )
         vlmcCritical() << "Couldn't find clips: " << uuidA << " and " << uuidB;
         return false;
     }
-    clipA->linkedClips.append( clipB->uuid );
-    clipB->linkedClips.append( clipA->uuid );
-    emit clipLinked( clipA->uuid.toString(), clipB->uuid.toString() );
+    clipA->linkedClips.append( uuidB );
+    clipB->linkedClips.append( uuidA );
+    emit clipLinked( uuidA.toString(), uuidB.toString() );
     return true;
 }
 
-- 
2.9.3



More information about the Vlmc-devel mailing list