Commit 60b8c48c authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

MediaContainer: Make clip( const QUuid& uuid ) behave the same as clip( const QString &uuid )

It doesn't make sense to behave differently even though they have the same name.
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 496812a2
......@@ -46,10 +46,7 @@ MediaContainer::~MediaContainer()
Clip*
MediaContainer::clip( const QUuid& uuid )
{
QHash<QUuid, Clip*>::iterator it = m_clips.find( uuid );
if ( it != m_clips.end() )
return it.value();
return nullptr;
return clip( uuid.toString() );
}
Clip*
......
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