Commit 40c7f2a3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

MediaContainer: Wait until event has been processed to delete the clip.

parent 9bc8b8d4
......@@ -160,7 +160,7 @@ MediaContainer::deleteClip( const QUuid &uuid )
Clip* clip = it.value();
m_clips.remove( uuid );
emit clipRemoved( uuid );
delete clip;
clip->deleteLater();
}
}
......
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