apol created this revision. apol added reviewers: Frameworks, mart. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. apol requested review of this revision.
REVISION SUMMARY This patch catches the few different KColorScheme we use so that every widget can access the same instead of computing it separately. As is, the different KColorScheme were initialised really often for every widget that specifies a colorSet. TEST PLAN Used it with Discover and Kirigami Gallery REPOSITORY R858 Qt Quick Controls 2: Desktop Style BRANCH master REVISION DETAIL https://phabricator.kde.org/D9768 AFFECTED FILES kirigami-plasmadesktop-integration/plasmadesktoptheme.cpp kirigami-plasmadesktop-integration/plasmadesktoptheme.h To: apol, #frameworks, mart Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart