Condense the switch statement, enable warnings only if we're using S/MIME.
Condense the switch statement, enable warnings only if we're using S/MIME.

svn path=/trunk/kdepim/; revision=288981

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