Re: Re : KConfigXT generated class gets value from kdeglobals config file

2021-08-09 Thread George Florea Banus
On 09.08.2021 00:25, Carl Schwan wrote: when creating a KSharedConfig, you can specify if kdeglobals will be read and then you can tell KConfigXT that you want to read from an existing KSharedPtr:https://api.kde.org/frameworks/kconfig/html/kconfig_compiler.html Couldn't figure out how to use a

Re: Re : KConfigXT generated class gets value from kdeglobals config file

2021-08-08 Thread George Florea Banus
On 09.08.2021 00:25, Carl Schwan wrote: Hi, when creating a KSharedConfig, you can specify if kdeglobals will be read and then you can tell KConfigXT that you want to read from an existing KSharedPtr:https://api.kde.org/frameworks/kconfig/html/kconfig_compiler.html Thanks, I'll have a look.

Re : KConfigXT generated class gets value from kdeglobals config file

2021-08-08 Thread Carl Schwan
Le dimanche 8 août 2021 à 11:15 PM, George Florea Banus a écrit : > 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 va

KConfigXT generated class gets value from kdeglobals config file

2021-08-08 Thread George Florea Banus
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