[KColorSchemeManager] Optimize preview generation

Authored by broulik on Aug 6 2019, 11:03 AM.

Description

[KColorSchemeManager] Optimize preview generation

Create them only on-demand (e.g. when the menu opens or the DecorationRole is queried)
and also use KConfig::SimpleConfig as we're passing in an absolute file path anyway.

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

Details

Committed
broulikAug 6 2019, 11:03 AM
Differential Revision
D22531: [KColorSchemeManager] Optimize preview generation
Parents
R265:f3f233dca0c2: Fix includes
Branches
Unknown
Tags
Unknown