davidre created this revision. Herald added a project: Plasma. Herald added a subscriber: plasma-devel. davidre requested review of this revision.
REVISION SUMMARY Our icons can be recolored. However there is a difference between custom colors on widgets and icons. We will respect the palette but KIconLoader that creates the icon pixmaps operates on an application wide palette basis. This can create miscolored icons when a widget has a custom palette. A helper function is introduced to load the pixmaps that switches the palette of the global KIconLoader if necessary and resets it appropriately. REPOSITORY R31 Breeze BRANCH iconspalette (branched from master) REVISION DETAIL https://phabricator.kde.org/D28433 AFFECTED FILES kstyle/CMakeLists.txt kstyle/breezehelper.cpp kstyle/breezehelper.h kstyle/breezestyle.cpp To: davidre Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart