- Don't ask if the message should be encrypted if the user didn't specify an OpenPGP key for the current identity.
- Don't ask if the message should be encrypted if the user didn't specify an OpenPGP key for the current identity.

- Always use mIdentity->currentIdentity() instead of mId as mId might contain a wrong value if an identity was deleted. Now mId is only used during the initialization.

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

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