Re: [PATCH] write the imap folder config more often
David Faure <[email protected]> Mon, 5 Nov 2007 10:22:47 +0100
| Newsgroups | gmane.comp.kde.devel.kmail |
|---|---|
| Organization | Klaralvdalens Datakonsult. |
| Message-ID | <[email protected]> |
On Monday 05 November 2007, Matt Rogers wrote: > Hi, > > I've been running into cases where when closing KMail, imap folders > would be written out with empty ImapPath keys unless I opened the > folder before closing KMail. > > I've fixed this by calling KMFolderImap::writeConfig from > KMFolderIMap::initializeFrom. Since I'm not sure this is the right > approach, I'm sending the patch to the list for review first. Make sure that initializeFrom isn't called from readConfig (in this object or in others). This config stuff in kmail seems quite fragile... -- David Faure, [email protected], [email protected] KDE/KOffice developer, Qt consultancy projects Klarälvdalens Datakonsult AB, Platform-independent software solutions