D9768: Cache KColorScheme instances
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Tue Jan 9 16:46:55 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180109/72136ea8/attachment.html>
More information about the Kde-frameworks-devel
mailing list