KMail is crashing after applying changes again. This commit may fix a very difficult to reproduce problem with toggling compact_all_folders and applying the change after file->compact_all_folders after deleting a message in folder.
KMail is crashing after applying changes again. This commit may fix
a very difficult to reproduce problem with toggling
compact_all_folders and applying the change after
file->compact_all_folders after deleting a message in folder.

There are some new suspect khtml/kpart problems however. Changing
from long/short folder layout (which deletes the html part
and recreates it) is causing the html part to become confused.

svn path=/trunk/kdenetwork/kmail/; revision=49647

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