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

Library: Always fetch a clip using a QUuid

parent 211b1358
......@@ -117,15 +117,10 @@ Library::media( qint64 mediaId )
}
Clip*
Library::clip( const QString& uuid )
Library::clip( const QUuid& uuid )
{
return m_clips.value( uuid );
}
Clip*
Library::clip( const QUuid& uuid )
{
return clip( uuid.toString() );
}
void
......
......@@ -61,7 +61,6 @@ public:
* @return The clip if it exists, or nullptr
* This can be any clip, the given UUID doesn't have to refer to a root clip
*/
Clip* clip( const QString& uuid );
Clip* clip( const QUuid& uuid );
void clear();
......
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