[vlmc-devel] Clip.qml: Remove now useless code

Yikai Lu git at videolan.org
Thu Jul 6 14:12:18 CEST 2017


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Thu Jul  6 21:10:59 2017 +0900| [5a2a9622e50540971184208bd2f4d3cba4cd836c] | committer: Yikai Lu

Clip.qml: Remove now useless code

> https://code.videolan.org/videolan/vlmc/commit/5a2a9622e50540971184208bd2f4d3cba4cd836c
---

 src/Gui/timeline/Clip.qml | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/src/Gui/timeline/Clip.qml b/src/Gui/timeline/Clip.qml
index aa632443..7cd566a6 100644
--- a/src/Gui/timeline/Clip.qml
+++ b/src/Gui/timeline/Clip.qml
@@ -168,18 +168,6 @@ Rectangle {
         clipInfo["end"] = end;
     }
 
-    onLinkedClipsChanged: {
-        for ( var i = 0; i < linkedClips.length; ++i )
-        {
-            var linkedClip = linkedClips[i];
-            var linkedClipItem = findClipItem( linkedClip );
-            if ( linkedClipItem ) {
-                if ( linkedClipItem.linkedClips.indexOf( uuid ) !== -1 )
-                    linkedClipItem.linkedClips.push( uuid );
-            }
-        }
-    }
-
     onSelectedChanged: {
         for ( var i = 0; i < selectedClips.length; ++i )
             if ( !selectedClips[i] || selectedClips[i] === clip ) {



More information about the Vlmc-devel mailing list