Reading of KConfig bool entries with default values does not work

Albert Astals Cid aacid at
Mon Nov 10 00:09:08 GMT 2008

To reproduce you need to have a langauge installed, in my case i'm using ca

Go to your .kde/share/config/kdeglobals and add


And now compile and compile the attached program.

You'll get

RE "true"
RE2 true
RE3 false

If you change the kdeglobals entry to


it'll correctly return 

RE "true"
RE2 true
RE3 true

Anyone that feels responsible enough?

And if there's noone, anyone that can help me a bit looking for where to fix 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 538 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list