Commit 963f7edf authored by luyikei's avatar luyikei

qml: Don't declare a varible twice

parent d871ed03
...@@ -67,7 +67,7 @@ Rectangle { ...@@ -67,7 +67,7 @@ Rectangle {
} }
} }
} }
for ( var i = 0; i < clips.count; ++i ) { for ( i = 0; i < clips.count; ++i ) {
if ( clips[i].uuid === uuid ) { if ( clips[i].uuid === uuid ) {
clips.remove( i ); clips.remove( i );
break; break;
......
...@@ -143,7 +143,7 @@ Item { ...@@ -143,7 +143,7 @@ Item {
vClipInfo = findClipFromTrack( "Video", trackId, "videoUuid" ); vClipInfo = findClipFromTrack( "Video", trackId, "videoUuid" );
var pos = 0; var pos = 0;
if ( aClipInfo ) { if ( aClipInfo ) {
var pos = aClipInfo["position"]; pos = aClipInfo["position"];
removeClipFromTrack( "Audio", trackId, "audioUuid" ); removeClipFromTrack( "Audio", trackId, "audioUuid" );
} }
if ( vClipInfo ) { if ( vClipInfo ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment