Check if payload exists before trying to access it, otherwise this will crash as a result of an assert
Check if payload exists before trying to access it, otherwise this will crash as a result of an assert

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

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