mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-01-22 21:52:46 +01:00
Use reference
This commit is contained in:
parent
7ffa51b83d
commit
c0663bc19f
@ -404,7 +404,7 @@ void PlaylistListContainer::Delete() {
|
||||
QSet<int> ids;
|
||||
QList<QPersistentModelIndex> folders_to_delete;
|
||||
|
||||
for (const QModelIndex proxy_index : ui_->tree->selectionModel()->selectedRows()) {
|
||||
for (const QModelIndex &proxy_index : ui_->tree->selectionModel()->selectedRows()) {
|
||||
const QModelIndex idx = proxy_->mapToSource(proxy_index);
|
||||
|
||||
// Is it a playlist?
|
||||
|
Loading…
Reference in New Issue
Block a user