https://bugs.kde.org/show_bug.cgi?id=426674

--- Comment #10 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 54e12fcda086d4abc2af5b90cc60178a419fbdb7 by Arjen Hiemstra.
Committed on 23/09/2020 at 14:08.
Pushed by ahiemstra into branch 'master'.

Deprecate a lastModified timestamp of 0 in Theme::findInCache

lastModified is used to track whether a file is outdated. Having a 0
here means we (in the old code) use the cached version. This causes
problems when the on-disk file has changed, as we have no way of
informing callers that they should regenerate the cache entry. To avoid
this, using a lastModified of 0 now warns and will always return false
(to indicate it is not cached). Unfortunately we can't simply drop the
default parameter of 0 since there is no source-compatible way of doing
that.

M  +21   -13   src/plasma/theme.cpp
M  +4    -0    src/plasma/theme.h

https://invent.kde.org/frameworks/plasma-framework/commit/54e12fcda086d4abc2af5b90cc60178a419fbdb7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to