Fix a bug in my last bugfix.
Fix a bug in my last bugfix.

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

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