Changeset View
Changeset View
Standalone View
Standalone View
src/pimcommonakonadi/acl/collectionaclpage.cpp
Context not available. | |||||
88 | 88 | | |||
---|---|---|---|---|---|
89 | // The collection dialog expects the changed collection to run | 89 | // The collection dialog expects the changed collection to run | ||
90 | // its own ItemModifyJob, so make him happy... | 90 | // its own ItemModifyJob, so make him happy... | ||
91 | PimCommon::ImapAclAttribute *attribute = d->mCollectionAclWidget->aclManager()->collection().attribute<PimCommon::ImapAclAttribute>(); | 91 | Akonadi::Collection c = d->mCollectionAclWidget->aclManager()->collection(); | ||
92 | if (c.isValid()) { | ||||
93 | PimCommon::ImapAclAttribute *attribute = c.attribute<PimCommon::ImapAclAttribute>(); | ||||
94 | if (attribute) { | ||||
92 | collection.addAttribute(attribute->clone()); | 95 | collection.addAttribute(attribute->clone()); | ||
93 | } | 96 | } | ||
97 | } | ||||
98 | } | ||||
Context not available. |