Backport 1.161.2.6: Make sure writeConfig is written after all changes. (#92502)
Backport 1.161.2.6: Make sure writeConfig is written after all changes. (#92502)

svn path=/branches/proko2/kdepim/; revision=359718

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi