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

Clip: Remove unused isChild method

parent 7dcf5b02
......@@ -252,20 +252,6 @@ Clip::clear()
m_subclips.clear();
}
bool
Clip::isChild( const QUuid &uuid) const
{
Clip* c = m_parent;
while ( c != nullptr )
{
if ( c->m_uuid == uuid )
return true;
c = c->m_parent;
}
return false;
}
QVariant
Clip::toVariant() const
{
......
......@@ -130,11 +130,6 @@ class Clip : public Workflow::Helper
bool addSubclip( Clip* clip );
/**
* \return true if the clip is a child of the given clip uuid
*/
bool isChild( const QUuid& uuid ) const;
QVariant toVariant() const;
QVariant toVariantFull() const;
......
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