1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-08 23:26:40 +02:00

* PlayableModel can now hold sources as parents for other items.

This commit is contained in:
Christian Muehlhaeuser
2014-08-13 01:12:41 +02:00
parent 2cb5b203b9
commit a4daf7b4fb

View File

@@ -135,7 +135,7 @@ PlayableModel::hasChildren( const QModelIndex& parent ) const
if ( parentItem == d->rootItem )
return true;
return ( !parentItem->artist().isNull() || !parentItem->album().isNull() );
return ( !parentItem->artist().isNull() || !parentItem->album().isNull() || !parentItem->source().isNull() );
}