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

Clip: Check if there is a parent before checking for parent's metatags.

parent 26765068
......@@ -140,7 +140,7 @@ Clip::matchMetaTag( const QString &tag ) const
{
if ( tag.length() == 0 )
return true;
if ( m_parent->matchMetaTag( tag ) == true )
if ( m_parent && m_parent->matchMetaTag( tag ) == true )
return true;
QString metaTag;
foreach ( metaTag, m_metaTags )
......
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