Commit 1cd4fb1f authored by luyikei's avatar luyikei

MainWorkflow: Fix wrong uuid given by libraryClipInfo

I don't know why this happend... So shameful
parent eb1f07e2
......@@ -169,7 +169,7 @@ Item {
}
else {
var newClipInfo = workflow.libraryClipInfo( drag.getDataAsString( "vlmc/uuid" ) );
currentUuid = "" + newClipInfo["libraryUuid"];
currentUuid = "" + newClipInfo["uuid"];
newClipInfo["position"] = ptof( drag.x );
if ( newClipInfo["audio"] ) {
newClipInfo["uuid"] = "audioUuid";
......
......@@ -241,7 +241,7 @@ MainWorkflow::libraryClipInfo( const QString& uuid )
h["video"] = c->media()->hasVideoTracks();
h["begin"] = c->begin();
h["end"] = c->end();
h["uuid"] = "libraryUuid";
h["uuid"] = c->uuid().toString();
return QJsonObject::fromVariantHash( h );
}
......
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