ThumbnailCache: store thumbnail size in cache index

Authored by johanneszarl on May 12 2020, 10:27 PM.

Description

ThumbnailCache: store thumbnail size in cache index

The way I intend this is to always use the stored thumbnail size from
the thumbnail cache and set the settings value from this.
Invalidating the thumbnail cache is now done slightly different: the
ThumbnailCache now does this automatically when needed.

For the rest of KPA, SettingsData::thumbnailSize() is still the main
source of information, and enforcing size constraints is also done in
the settingsdata.

This prevents inconsistent thumbnail data from being generated when the
config file was edited by any outside program.

Details

Committed
johanneszarlMay 12 2020, 11:08 PM
Parents
R463:c70edaf91cb2: GridResizeSlider: remove dead code
Branches
Unknown
Tags
Unknown
References
feature/thumbnailCacheImprovements