Fixed bug kmfolder::removemsg wasn't marking a folder as needing compaction.
Fixed bug kmfolder::removemsg wasn't marking a folder as needing compaction.

Note: kmfolder::removemsg is called by kmheaders::applyfilters, before a
message is filtered. At first glance this would suggest when can lose the
mail currently being filtered (when applying filters using Ctrl-J) if
KMail crashes while filtering a message. Actually I think we are saved by
a techinicality as there is no opportunity for the index file to be synced
to disk. (Yes I know kmfolder::close is called but the open count is greater
than 0 so the index won't be synced).

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

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