This prevents the following crash: - create new imap account - kernel does cleanupImapFolders - which creates the account folder and sets it to noContent - it then closes the folder - close in kmfoldermbox calls unlock - that does assert(stream), there is no stream, because there is no content - BOOM
This prevents the following crash:
- create new imap account
- kernel does cleanupImapFolders
- which creates the account folder and sets it to noContent
- it then closes the folder
- close in kmfoldermbox calls unlock
- that does assert(stream), there is no stream, because there is no content
- BOOM

svn path=/trunk/kdepim/; revision=240056

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