CollectionModel: Remove unused ExpandAll function

This commit is contained in:
Jonas Kvinge
2024-07-24 19:58:53 +02:00
parent 58587f4a9a
commit 37743606a2
2 changed files with 0 additions and 14 deletions

View File

@@ -1553,18 +1553,6 @@ void CollectionModel::ClearDiskCache() {
if (sIconCache) sIconCache->clear();
}
void CollectionModel::ExpandAll(CollectionItem *item) const {
if (!root_) return;
if (!item) item = root_;
for (CollectionItem *child : item->children) {
ExpandAll(child);
}
}
void CollectionModel::RowsInserted(const QModelIndex &parent, const int first, const int last) {
SongList songs;