]> cloud.milkyroute.net Git - dolphin.git/commit
KFileItemModelRolesUpdater: Skip directory item count if it isSlow()
authorAndrew Gunnerson <accounts+kde@chiller3.com>
Mon, 6 Feb 2023 02:44:23 +0000 (21:44 -0500)
committerMéven Car <meven.car@kdemail.net>
Thu, 9 Feb 2023 09:18:35 +0000 (09:18 +0000)
commit34e0a5488e3c2d1ed0ff291549934b7490474b5c
tree4a37a237c059448263d8d138136b7c2068a003dd
parent24cc1483bcc1747a01a6cd1c5a018510e067e3b6
KFileItemModelRolesUpdater: Skip directory item count if it isSlow()

This makes the behavior of kernel cifs/nfs mounts the same as with kio's
smb://. It also helps reduce the chance of the UI hanging due to
opendir/readdir slowing down stat calls on the UI thread.

Signed-off-by: Andrew Gunnerson <accounts+kde@chiller3.com>
src/kitemviews/kfileitemmodelrolesupdater.cpp