hein created this revision. Restricted Application added projects: Plasma, Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY In effect this is meant to resurrect the "Panel" icon size setting from the Icons -> Advanced KCM in System Settings, for use as a ceiling on panel icons to avoid them taking up too much space, especially in wide vertical panels. Previously, the actually-unused "Desktop" size hint was added to the iconSizes map. I believe this was in error, as the size hints are semantically different from the size classes. This patch marks the "desktop" iconSizes map entry as deprecated and makes it available under iconSizeHints instead. The soon-to-be-updated https://phabricator.kde.org/D5592 will demonstrate this API in use. CCBUG:378443 REPOSITORY R242 Plasma Framework (Library) BRANCH master REVISION DETAIL https://phabricator.kde.org/D5593 AFFECTED FILES src/declarativeimports/core/units.cpp src/declarativeimports/core/units.h To: hein, #plasma, mart Cc: plasma-devel, #frameworks, spstarr, progwolff, Zren, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, lukas