BUG:398260 avoid removed entries in the cache

Authored by woltherav on Sep 25 2018, 2:11 PM.

Description

BUG:398260 avoid removed entries in the cache

This removes entries from the cache when removing books within peruse,
but also removes entries when QFileInfo::exists() cannot verify they exist(when removed
from outside).

The latter might be a little slower, but not as noticable as the slowness of building the
cache for the first time. If it does become a problem this will be the first place to start
optimising.

Differential Revision: https://phabricator.kde.org/D15748

Details

Committed
woltheravSep 25 2018, 2:11 PM
Differential Revision
D15748: Remove entries from cache if their filename does not exist.
Parents
R157:9b65d987776d: Remove debug messages.
Branches
Unknown
Tags
Unknown