From: Zakhar Afonin Date: Sat, 15 Jun 2024 13:44:16 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/f2474c344a197ed5df886e65fdfce4980767fb59 Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Méven Car --- diff --git a/src/kitemviews/kfileitemmodel.cpp b/src/kitemviews/kfileitemmodel.cpp index 34a113ede..564ac42ea 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();