Skip to content

kcolorscheme: Properly handle KColorScheme::isColorSetSupported on blank configurations

Jan Blackquill requested to merge work/janb/yo-yo-everybody into master

On a blank configuration, querying isColorSetSupported will always return 'false' when we ask KConfig if a group is present. This causes us to incorrectly return 'false' for all colour sets when the config is blank. By detecting when configuration is blank, we can instead always return 'true as we have a fallback for blank config for all colour schemes.

Merge request reports