Dangerous KConfigSkeleton and KMKernel::config() interaction

Waldo Bastian bastian at kde.org
Thu Aug 12 13:33:53 BST 2004


On Thursday 12 August 2004 14:23, David Faure wrote:
> The danger here, is that if the above is the first call to a GlobalSettings
> method, it will trigger the creation of the KConfigSkeleton, which will
> parse all the settings known to kconfigxt, which will change the group!

What about letting KConfigSkeleton::readConfig() restore the group then? See 
patch.

Cheers,
Waldo
-- 
bastian at kde.org  |   KDE Community World Summit 2004  |  bastian at suse.com
bastian at kde.org  | 21-29 August, Ludwigsburg, Germany |  bastian at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040812/7f7a246f/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfigskel.patch
Type: text/x-diff
Size: 1226 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040812/7f7a246f/attachment.patch>


More information about the kde-core-devel mailing list