From f2474c344a197ed5df886e65fdfce4980767fb59 Mon Sep 17 00:00:00 2001 From: Zakhar Afonin Date: Sat, 15 Jun 2024 13:44:16 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Méven Car --- src/kitemviews/kfileitemmodel.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index 34a113eded..564ac42ea1 100644 --- a/src/kitemviews/kfileitemmodel.cpp +++ b/src/kitemviews/kfileitemmodel.cpp @@ -1607,8 +1607,6 @@ void KFileItemModel::insertItems(QList &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();