mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-20 12:39:01 +01:00
Fix crash when deleting playlist folder.
This commit is contained in:
parent
b5a7945e49
commit
c8f3379a48
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user