Backport: fix crash
Backport: fix crash

svn path=/branches/KDE/4.4/kdepim/; revision=1136246

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