[vlmc-devel] MainWorkflow: remove clip from its m_clips
Yikai Lu
git at videolan.org
Sat Jul 30 07:49:01 CEST 2016
vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 30 14:28:11 2016 +0900| [ba5e7df46704f43732302bf96483a006853fa562] | committer: Yikai Lu
MainWorkflow: remove clip from its m_clips
> https://code.videolan.org/videolan/vlmc/commit/ba5e7df46704f43732302bf96483a006853fa562
---
src/Workflow/MainWorkflow.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Workflow/MainWorkflow.cpp b/src/Workflow/MainWorkflow.cpp
index c4dd45d..7f4efa6 100644
--- a/src/Workflow/MainWorkflow.cpp
+++ b/src/Workflow/MainWorkflow.cpp
@@ -315,6 +315,7 @@ MainWorkflow::removeClip( const QString& uuid )
auto clip = it.value();
trigger( new Commands::Clip::Remove( clip, track( trackId ) ) );
+ m_clips.erase( it );
emit clipRemoved( uuid );
return;
}
More information about the Vlmc-devel
mailing list