Dangerous KConfigSkeleton and KMKernel::config() interaction

David Faure faure at kde.org
Thu Aug 12 13:39:35 BST 2004


On Thursday 12 August 2004 14:33, Waldo Bastian wrote:
> 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.

Excellent idea, please commit that part.
(We still need the kmail patch, of course.)

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list