Fix crash when deleting playlist folder.

This commit is contained in:
Jonas Kvinge 2020-01-05 23:26:07 +01:00
parent b5a7945e49
commit c8f3379a48
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ void PlaylistListContainer::RecursivelyFindPlaylists(const QModelIndex &parent,
case PlaylistListModel::Type_Folder:
for (int i = 0; i < parent.model()->rowCount(parent); ++i) {
RecursivelyFindPlaylists(proxy_->index(i, 0, parent), ids);
RecursivelyFindPlaylists(parent.model()->index(i, 0, parent), ids);
}
break;
}