Commit 27b1bbfb authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

Library: Register the baseClip of Media

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent e64f4616
......@@ -85,6 +85,7 @@ Library::addMedia( QSharedPointer<Media> media )
if ( m_media.contains( media->id() ) )
return;
m_media[media->id()] = media;
m_clips[media->baseClip()->uuid()] = media->baseClip();
connect( media.data(), &Media::subclipAdded, [this]( QSharedPointer<Clip> c ) {
m_clips[c->uuid()] = c;
setCleanState( false );
......
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