Fix crash when preferences dialog is invoked
Fix crash when preferences dialog is invoked

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

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