KCoreDirListerCache:: make sure not to reinsert an item twice
In slotUpdateResult and processPendingUpdates for local files.
pendingUpdates can be updated in KCoreDirListerCache::slotFilesChanged called synchrounously when file on disk are changed or asynchrously when its parent directory is scanned for whatever reason. It can happen that the pendingUpdateTimer triggers as the file is updated, this may cause reinsert for the same url, the second one causing a crash.
CC only has I am not 100% sure this will be sufficient.
Edited by Méven Car