Fix subresource state changing.
Fix subresource state changing.

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

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