Skip to content

lts-cherry-pick-attica-kde: Use the correct location for determining the max cache size8

Fushan Wen requested to merge cherry-pick-63788e65-2 into Plasma/5.24

QStorageInfo returns -1 there if the cache directory didn't exist yet. QNetworkDiskCache happily accepts 0 as max size and eagerly deletes everything it can on every occasion, triggering cache corruption.

BUG: 464517

(cherry picked from commit 63788e65)

Merge request reports