KConfigXT generated class gets value from kdeglobals config file
George Florea Banus
georgefb899 at gmail.com
Sun Aug 8 22:15:40 BST 2021
In my app I'm using KConfigXT for my settings.
I have a general group and in it I have a ColorScheme entry.
Now when there is no ColorScheme set by the user and I try to access
this entry, instead of getting its default value it gets the value
stored in `~/.config/kdeglobals` (which also has a ColorScheme entry
under the General group).
https://invent.kde.org/multimedia/haruna/-/blob/master/src/settings/generalsettings.kcfg#L46
https://invent.kde.org/multimedia/haruna/-/blob/master/src/settings/generalsettings.kcfgc
Any ideas how to prevent this? I'd rather not change the name of the
entry or the group.
More information about the kde-devel
mailing list