EventViews::setResourceColor: modify the Akonadi::CollectionColorAttribute in…

Authored by dfaure on Apr 18 2020, 11:05 AM.

Description

EventViews::setResourceColor: modify the Akonadi::CollectionColorAttribute in the collection

Summary:
This gives a chance to the resource to store the color server side
(implemented for DAV).

This commit improves upon D7500 (1ec2e08a83c0) which only implemented reading
from the attribute.

Test Plan:
(after implementing saving in the dav resource) changing a calendar color
in korganizer now propagates to the server, F5 in roundcube and the new color appears.
This helps when using multiple computers, or when the dav resource temporarily forgets
about all folder (ahem).

Reviewers: dvratil, ochurlaud

Reviewed By: dvratil

Subscribers: kde-pim

Tags: KDE PIM

Differential Revision: https://phabricator.kde.org/D28937

Details

Committed
dfaureApr 18 2020, 12:12 PM
Reviewer
dvratil
Differential Revision
D28937: EventViews::setResourceColor: modify the Akonadi::CollectionColorAttribute in the collection
Parents
R76:2f4406e2b05c: Remove unused include
Branches
Unknown
Tags
Unknown