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.
Attachments
For Gerrit Dashboard: QTBUG-96113 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
367987,3 | Invalidate the internal QIcon cache when theme name is changed | dev | qt/qtbase | Status: NEW | 0 | 0 |