dfaure added a comment.
Note that there is `KFileItem::cmp` for a more thorough comparison of two fileitems. But it only looks at some UDS fields -- those that matter at the KDirLister level. Or maybe it shows that UDSEntry::operator== was missing so KFileItem::cmp uses a poor man's version of that ;) This confirms the need for such an operator== indeed (though I wouldn't change the implementation of KFileItem::cmp until we see a need to do that). Thanks for the explanation. REPOSITORY R241 KIO BRANCH arcpatch-D23667 REVISION DETAIL https://phabricator.kde.org/D23667 To: meven, #frameworks, ngraham, dfaure Cc: dfaure, pino, ngraham, kde-frameworks-devel, LeGast00n, GB_2, michaelh, bruns