mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Add missing reference
This commit is contained in:
parent
ee4ab8ce69
commit
f6327ffec8
|
@ -959,7 +959,7 @@ void KFileItemModelRolesUpdater::updateChangedItems()
|
|||
|
||||
// Iterate over a const copy because items are deleted within the loop
|
||||
const auto changedItems = m_changedItems;
|
||||
for (const KFileItem item : changedItems) {
|
||||
for (const KFileItem &item : changedItems) {
|
||||
const int index = m_model->index(item);
|
||||
|
||||
if (index < 0) {
|
||||
|
|
Loading…
Reference in a new issue