- Remove cover size setting, set automtically.

- Artist images only shown in grid view.
- No images, or icons, shown in basic tree view.
This commit is contained in:
craig.p.drummond
2014-07-16 19:06:33 +00:00
parent c3d288fd8e
commit d5d5c23479
39 changed files with 219 additions and 659 deletions

View File

@@ -216,6 +216,9 @@ QVariant OnlineServicesModel::data(const QModelIndex &index, int role) const
}
break;
}
case Cantata::Role_ListImage:
case Cantata::Role_Image:
return MusicLibraryItem::Type_Album==item->itemType();
case Qt::DecorationRole:
if (MusicLibraryItem::Type_Song==item->itemType() && item->parentItem() && MusicLibraryItem::Type_Podcast==item->parentItem()->itemType()) {
if (!static_cast<MusicLibraryItemPodcastEpisode *>(item)->localPath().isEmpty()) {