Only create the progressitem if a parent is given
Only create the progressitem if a parent is given

svn path=/trunk/kdepim/; revision=320221

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