]> cloud.milkyroute.net Git - dolphin.git/commit
Do not cache indexes across async tasks
authorDavid Edmundson <kde@davidedmundson.co.uk>
Thu, 7 Dec 2023 11:14:45 +0000 (12:14 +0100)
committerDavid Edmundson <kde@davidedmundson.co.uk>
Fri, 8 Dec 2023 09:50:24 +0000 (09:50 +0000)
commit30691235c5acc4c5b30ffc8820d2ef7c55fc632e
treeb803ca2d8498a61a22af1b64cec8aeaa76a8894c
parent35235589aab7b18be6d12e19cb4c01c0f1268ee3
Do not cache indexes across async tasks

Capturing an index is unsafe as it could be out of date when this is
processed. The user could have changed directory inserted a file or
changed sorting order.
src/kitemviews/kfileitemmodelrolesupdater.cpp