[vlmc-devel] Timeline: Remove useless code

Yikai Lu git at videolan.org
Sat Jul 30 07:49:00 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 30 14:27:43 2016 +0900| [b98ddc26cd3c120a68876deab69a852ec349a2ec] | committer: Yikai Lu

Timeline: Remove useless code

> https://code.videolan.org/videolan/vlmc/commit/b98ddc26cd3c120a68876deab69a852ec349a2ec
---

 src/Gui/timeline/main.qml | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/Gui/timeline/main.qml b/src/Gui/timeline/main.qml
index 42a9098..e6e06d4 100644
--- a/src/Gui/timeline/main.qml
+++ b/src/Gui/timeline/main.qml
@@ -99,10 +99,6 @@ Rectangle {
         while ( trackId > tracks.count - 1 )
             addTrack( trackType );
         tracks.get( trackId )["clips"].append( newDict );
-
-        if ( clipDict["uuid"] === "tempUuid" )
-            return newDict;
-
         return newDict;
     }
 
@@ -120,9 +116,6 @@ Rectangle {
                 j--;
             }
         }
-        if ( uuid === "tempUuid" )
-            return ret;
-
         return ret;
     }
 



More information about the Vlmc-devel mailing list