strings[2] = QString( psz_duration );
type = p_item->p_input->i_type;
current = iscurrent;
+
if( current && p_item->p_input->p_meta &&
p_item->p_input->p_meta->psz_arturl &&
!strncmp( p_item->p_input->p_meta->psz_arturl, "file://", 7 ) )
- {
model->sendArt( qfu( p_item->p_input->p_meta->psz_arturl ) );
- }
+ else if( current )
+ model->removeArt();
}
/*************************************************************************
emit artSet( arturl );
}
+void PLModel::removeArt()
+{
+ emit artSet( QString() );
+}
+
/**
* Deletion, here we have to do a ugly slow hack as we retrieve the full
* list of indexes to delete at once: when we delete a node and all of