runBuildSycoca()/runKonfUpdate() ordering in kded

David Faure faure at kde.org
Mon Oct 15 09:02:47 BST 2007


On Monday 15 October 2007, Sam Bishop wrote:
> Hi, everyone.
> 
> I am new to KDE development and have been studying the source code, trying
> to get my bearings.  (An enormous "Thank you!" to all who have contributed
> to TechBase, by the way!)
> 
> I have a question about lines 837 and 838 of the kded source.  Why is
> kbuildsycoca run before kconf_update?  Wouldn't it make more sense to run
> kconf_update first?

Why?
kconf_update works on kconfig files (<prefix>/share/config/*rc),
while kbuildsycoca works on .desktop files. So they are unrelated.

-- 
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