https://bugs.kde.org/show_bug.cgi?id=442533
--- Comment #11 from Nate Graham <n...@kde.org> --- Git commit 513485606d030b7678f54c3e9121f7d43ef94849 by Nate Graham, on behalf of Aleix Pol. Committed on 05/10/2021 at 21:41. Pushed by ngraham into branch 'master'. Make icon colouring a per-icon property rather than a system At the moment we have icon users setting a global property into a singleton rather than keeping it on a per-icon basis. This only works as long as you are not dealing with different icons at the same time. Instead, keep the QPalette in the KIconEngine (which is per-icon instance) and the icon will know itself which palette to use. This commit doesn't change the previous behaviour because it's widely used although I imagine we can port many of the use cases into this one and clean a bunch of code. See PlasmaDesktopTheme::iconFromTheme in qqc2-desktop-style and qqc2-breeze-style. M +21 -3 src/kiconengine.cpp M +9 -0 src/kiconengine.h M +43 -12 src/kiconloader.cpp M +12 -0 src/kiconloader.h https://invent.kde.org/frameworks/kiconthemes/commit/513485606d030b7678f54c3e9121f7d43ef94849 -- You are receiving this mail because: You are watching all bug changes.