https://bugs.kde.org/show_bug.cgi?id=476950

--- Comment #4 from ratijas <m...@ratijas.tk> ---
Git commit 077f49e294e999e8e927bc745576aa472beee2e5 by ivan tkachenko.
Committed on 14/11/2023 at 22:14.
Pushed by ratijas into branch 'master'.

KSortFilterProxyModel: Don't recurse into syncRoleNames

Row count of a proxy model changes as it filters its source model, but
that's not a good reason to refresh role names every time. Instead we
are only interested in source model's changes.

This reduces amount of insert/remove back and forth signals during
filtering, and fixes the permanent "ghost delegate" at the end of a
ListView.

M  +18   -3    src/qml/ksortfilterproxymodel.cpp
M  +3    -0    src/qml/ksortfilterproxymodel.h

https://invent.kde.org/frameworks/kitemmodels/-/commit/077f49e294e999e8e927bc745576aa472beee2e5

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to