Cache KColorScheme instances

Authored by apol on Jan 9 2018, 4:42 PM.

Description

Cache KColorScheme instances

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

Reviewers: Frameworks, mart

Reviewed By: mart

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D9768

Details

Committed
apolJan 9 2018, 4:53 PM
Reviewer
mart
Differential Revision
D9768: Cache KColorScheme instances
Parents
R858:3a3a8224bf4b: GIT_SILENT Upgrade ECM and KF5 version requirements for 5.42.0 release.
Branches
Unknown
Tags
Unknown