Don't set a new palette if the application has a custom color scheme set
ClosedPublic

Authored by davidre on Dec 12 2019, 10:38 AM.

Details

Summary

If an application has explicitly set a custom color scheme we shouldn't change
the palette when the global color scheme changes because it explicitly wants to
use its custom one. For the same reason we already don't update the titlebar
color to the global one if this property is set.

Test Plan

Change colorscheme in kate or kcolorschemedemo and change the global
one in the colors kcm.

Diff Detail

Repository
R135 Integration for Qt applications in Plasma
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidre created this revision.Dec 12 2019, 10:38 AM
Restricted Application added a project: Plasma. · View Herald TranscriptDec 12 2019, 10:38 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
davidre requested review of this revision.Dec 12 2019, 10:38 AM
ngraham accepted this revision.Dec 19 2019, 4:06 PM
This revision is now accepted and ready to land.Dec 19 2019, 4:06 PM
This revision was automatically updated to reflect the committed changes.