Forward port r628578, fix crash when used as part in konqueror
Forward port r628578, fix crash when used as part in konqueror

svn path=/trunk/KDE/kdepim/; revision=628580

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