Reading of KConfig bool entries with default values does not work
Albert Astals Cid
aacid at kde.org
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
[foo]
bar[ca]=true
And now compile and compile the attached program.
You'll get
RE "true"
RE2 true
RE3 false
If you change the kdeglobals entry to
[foo]
bar=true
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
it?
Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 538 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081110/bab6d289/attachment.cpp>
More information about the kde-core-devel
mailing list