┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/settings/dolphin_directoryviewpropertysettings.kcfg
diff options
context:
space:
mode:
authorPan Zhang <[email protected]>2026-05-13 18:40:25 +0800
committerMéven Car <[email protected]>2026-05-13 10:40:25 +0000
commit914cd9010b52125a01e607c0b0f08401be225106 (patch)
treece3406a5c132b7745742cda6ac58b04dc7704089 /src/settings/dolphin_directoryviewpropertysettings.kcfg
parent66e66b7c2881cfb182ec4bf0b18a959371748300 (diff)
kfileitemmodelrolesupdater: fix directory item count for large folders
Dolphin reported an incorrect item count in the "Size" column for directories containing 200 or more entries. Use KIO::ListJob::ListFlag::ExcludeDotAndDotDot and ExcludeHidden to filter entries at the source. Use a local counter (totalCount) captured via std::shared_ptr in the lambda to ensure each scan job starts from zero and maintains its own state. Add a fast path using list.size() when showDirectoriesOnly is false to improve performance. BUG: 509150
Diffstat (limited to 'src/settings/dolphin_directoryviewpropertysettings.kcfg')
0 files changed, 0 insertions, 0 deletions