Commit 9fc1cb78 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Fix project loading

parent d73b1440
......@@ -115,7 +115,15 @@ Library::addMedia( const QFileInfo& fileInfo, const QString& uuid )
}
}
MetaDataManager::getInstance()->computeMediaMetadata( media );
addMedia( media );
}
void
Library::addMedia( Media *media )
{
m_medias[media->getUuid()] = media;
emit newMediaLoaded( media );
}
void
......@@ -296,10 +304,3 @@ Library::removeClip( const QUuid& mediaId, const QUuid& clipId )
if ( med->clips()->contains( clipId ) )
med->removeClip( clipId );
}
void
Library::addMedia( Media *media )
{
m_medias[media->getUuid()] = media;
emit newMediaLoaded( media );
}
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