Add missing reference

This commit is contained in:
Elvis Angelaccio 2020-11-08 23:23:07 +01:00
parent ee4ab8ce69
commit f6327ffec8

View file

@ -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) {