From a4daf7b4fbc06cc046be57d2c7911b58f14a134e Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 13 Aug 2014 01:12:41 +0200 Subject: [PATCH] * PlayableModel can now hold sources as parents for other items. --- src/libtomahawk/playlist/PlayableModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/playlist/PlayableModel.cpp b/src/libtomahawk/playlist/PlayableModel.cpp index 078db8d48..eaf3328ab 100644 --- a/src/libtomahawk/playlist/PlayableModel.cpp +++ b/src/libtomahawk/playlist/PlayableModel.cpp @@ -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() ); }