KConfigGroup automatic sync

Sebastian TrĂ¼g trueg at kde.org
Wed Feb 18 16:04:23 GMT 2009


The techbase article on KConfig states that the KConfigGroup destructor will 
sync automatically:

"We can also simply wait for the object to be destroyed, which triggers an 
automatic sync() if necessary."

This is not the case. Question is: what is the preferred behaviour? Should it 
sync automatically or not? In the latter case, one would have to call sync 
whenever one uses a group for writing which is very annoying.

Cheers,
Sebastian





More information about the kde-core-devel mailing list