Make sure the folder is still open for the setStatus() call. This fixes a crash while refreshing the DIMAP cache of a groupware sub-folder.
Make sure the folder is still open for the setStatus() call. This fixes
a crash while refreshing the DIMAP cache of a groupware sub-folder.

svn path=/branches/kdepim/enterprise4/kdepim/; revision=813234

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