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:
@@ -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() );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user