Commit 002274a1 authored by luyikei's avatar luyikei
Browse files

TrackWorkflow: Use replaseWithBalnk instead of remove

parent 343a82b5
...@@ -194,7 +194,7 @@ TrackWorkflow::removeClip( const QUuid& id ) ...@@ -194,7 +194,7 @@ TrackWorkflow::removeClip( const QUuid& id )
{ {
auto clip = it.value(); auto clip = it.value();
auto track = trackFromFormats( clip->formats() ); auto track = trackFromFormats( clip->formats() );
track->remove( track->clipIndexAt( it.key() ) ); track->replaceWithBlank( track->clipIndexAt( it.key() ) );
m_clips.erase( it ); m_clips.erase( it );
clip->disconnect( this ); clip->disconnect( this );
return clip; return clip;
......
Supports Markdown
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