]> cloud.milkyroute.net Git - dolphin.git/commit
KFileItemModelRolesUpdater: Avoid refreshing items when we receive their content...
authorMéven Car <meven29@gmail.com>
Fri, 19 Feb 2021 14:04:23 +0000 (15:04 +0100)
committerMéven Car <meven29@gmail.com>
Sat, 20 Feb 2021 18:37:00 +0000 (18:37 +0000)
commit5e5f236d00eb80b4f3f2f1681bd039b22325d35e
treeb9a0bbd58984da4492acdd0dfd0dbe49a0ca337d
parent0811bf4a2badc935627e768f502e33ac50369f52
KFileItemModelRolesUpdater: Avoid refreshing items when we receive their content count

It concerns the detail view.

It can cause multiple preview to be generated for the same file.
This is visible for directories whose icons use a random value for their inner files thumbnails.

Only the view needs to be updated for this model change.
src/kitemviews/kfileitemmodelrolesupdater.cpp