drosca created this revision. drosca added a reviewer: Frameworks. Restricted Application added a project: Frameworks.
REVISION SUMMARY Match the behavior of Qt's internal icon engines. TEST PLAN Rendering is the same for unaffected icons + highdpi still works. Example case: Render icon into QRect(0, 0, 12, 16) - KIconLoader returns QSize(12, 12) icon and KIconEngine would draw it at the top of the rect. This patch centers the icon in provided rect instead. REPOSITORY R302 KIconThemes BRANCH master REVISION DETAIL https://phabricator.kde.org/D4247 AFFECTED FILES src/kiconengine.cpp EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: drosca, #frameworks