Backport: Fix crash
Backport:
Fix crash

svn path=/branches/KDE/4.2/kdepim/; revision=950512

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