From bc0c50ee65b5640bc12e12752d586e68f6f4418b Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 13 Nov 2019 21:12:50 +0100 Subject: [PATCH] Remove commented code --- src/collection/collectionmodel.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/collection/collectionmodel.cpp b/src/collection/collectionmodel.cpp index 76ad5b414..67f6275a4 100644 --- a/src/collection/collectionmodel.cpp +++ b/src/collection/collectionmodel.cpp @@ -539,15 +539,7 @@ QString CollectionModel::AlbumIconPixmapCacheKey(const QModelIndex &idx) const { QStringList path; QModelIndex idx_copy(idx); while (idx_copy.isValid()) { - //const CollectionItem *item = IndexToItem(idx_copy); - //if (item && group_by_[item->container_level] == GroupBy_Album) { - // QString album = idx_copy.data().toString(); - // album.remove(Song::kAlbumRemoveDisc); - // path.prepend(album); - //} - //else { - path.prepend(idx_copy.data().toString()); - //} + path.prepend(idx_copy.data().toString()); idx_copy = idx_copy.parent(); }