Skip to content

Commit

Permalink
Fix crash when deleting playlist folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Jan 5, 2020
1 parent b5a7945 commit c8f3379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playlist/playlistlistcontainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8f3379

Please sign in to comment.