Fix bug when canceling the imap transfer dialog.
Fix bug when canceling the imap transfer dialog.

Make sure all messages are marked as being transfered even those that
are already retrieved this fixes a bug whereby messages already received
could be deleted causing a dangling pointer.

This also fixes a pre kmcommands bug whereby if a message was deselected
after it was transfered but before the modal transfer dialog was shown
then the message could be deleted causing a dangling pointer and a crash.
VS: ----------------------------------------------------------------------

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

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