mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2025-02-02 10:36:45 +01:00
Use reference
This commit is contained in:
parent
7ffa51b83d
commit
c0663bc19f
@ -404,7 +404,7 @@ void PlaylistListContainer::Delete() {
|
|||||||
QSet<int> ids;
|
QSet<int> ids;
|
||||||
QList<QPersistentModelIndex> folders_to_delete;
|
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);
|
const QModelIndex idx = proxy_->mapToSource(proxy_index);
|
||||||
|
|
||||||
// Is it a playlist?
|
// Is it a playlist?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user