hpereiradacosta added a comment.
I thought (but might be wrong) that you could create an icon with already the right pixmap in there (QIcon::addPixmap( QPixmap, QIcon::Mode, QIcon::State )) for a given state and mode, which will get picked (as opposed to calculated on fly) whenever called. REPOSITORY R31 Breeze REVISION DETAIL https://phabricator.kde.org/D9227 To: broulik, #plasma, #vdg, hpereiradacosta Cc: ngraham, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart