[Style KCM] Force active palette on widgets

Authored by broulik on Nov 28 2019, 3:51 PM.

Description

[Style KCM] Force active palette on widgets

Since there isn't a real window, the widgets think they're inactive, leading to dull appearance.
Also, while at it create the QPalette only once. KColorScheme::applicationPalette parses configuration and is super slow.
Doing it only once significantly speeds up the KCM.

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

Details

Committed
broulikNov 28 2019, 3:51 PM
Differential Revision
D25594: [Style KCM] Force active palette on widgets
Parents
R119:5c29f1f4aaee: [kaccess] Remove unneeded KService dependency
Branches
Unknown
Tags
Unknown