1
0
mirror of https://invent.kde.org/system/dolphin synced 2024-06-30 23:46:46 +00:00

Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Méven Car <meven@kde.org>
This commit is contained in:
Zakhar Afonin 2024-06-15 13:44:16 +00:00
parent b5eea6e5c5
commit f2474c344a

View File

@ -1607,8 +1607,6 @@ void KFileItemModel::insertItems(QList<ItemData *> &newItems)
std::reverse(itemRanges.begin(), itemRanges.end());
}
// N
// resortAllItems();
// The indexes in m_items are not correct anymore. Therefore, we clear m_items.
// It will be re-populated with the updated indices if index(const QUrl&) is called.
m_items.clear();