Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.12, 5.15, 6.2
-
None
Description
When using `QIcon::fromTheme` to select icons from an icon theme, the cache is overly aggressive and returns the same pixmap after setting the new theme with `QIcon::setThemeName`.
The attached patch resolves this by clearing the in-memory cache when `setThemeName` is called.