readConfig must be done before registerWithMessageDict, since that one can call writeConfig in some circumstances (readFolderIds() returned -1, so invalidateFolder() was called, which calls open/close, and close() calls updateIndex()+writeConfig() when mAutoCreateIndex is true.)
readConfig must be done before registerWithMessageDict, since that one can call writeConfig in some circumstances
(readFolderIds() returned -1, so invalidateFolder() was called,
which calls open/close, and close() calls updateIndex()+writeConfig() when mAutoCreateIndex is true.)

This should fix the frequent loss of folder settings.
CCMAIL: kmail-devel@kde.org

svn path=/branches/KDE/3.5/kdepim/; revision=531267

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