KConfigGroup::sync() calls the parent KConfig object's sync(), so running the latter once at the end should be enough, AFAICS.