Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2: Important
-
Resolution: Invalid
-
Affects Version/s: 5.12, 5.15, 6.2
-
Fix Version/s: None
-
Component/s: GUI: Look'n'Feel
-
Labels: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.