Fix crash when a resource is disabled
Fix crash when a resource is disabled

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

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