Skip to content

馃崚trash: Optimize trashimpl::adaptTrashSize and trashimpl: optimize TrashSizeCache::calculateSize

M茅ven Car requested to merge work/meven/trash-optimize into kf5

Make TrashSizeCache::calculateSize not check modification dates.

This divides by two the number of stats run for each file already in the trash each time a file is moved into the trash.

CCBUG: 461847 (cherry picked from commit 0ab81b6b)

Avoid calling multiple times TrashSizeCache.calculateSize when freeing space in trash

(cherry picked from commit 0b5a25ae)

Merge request reports