Fixed handling of sub resource without items
Fixed handling of sub resource without items

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

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