Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 92ccb687 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Synchronize Google calendar color into collection attribute

The attribute is not yet recognized by KOrganizer, but at least the resource will
be ready once it does.
parent 6059b174
......@@ -24,6 +24,7 @@
#include <AkonadiCore/AttributeFactory>
#include <AkonadiCore/CollectionModifyJob>
#include <AkonadiCore/EntityDisplayAttribute>
#include <AkonadiCore/CollectionColorAttribute>
#include <AkonadiCore/ItemFetchJob>
#include <AkonadiCore/ItemFetchScope>
#include <AkonadiCore/ItemModifyJob>
......@@ -449,6 +450,9 @@ void CalendarResource::slotCollectionsRetrieved(KGAPI2::Job *job)
auto colorAttr = collection.attribute<CollectionColorAttribute>(Collection::AddIfMissing);
DefaultReminderAttribute *reminderAttr = collection.attribute<DefaultReminderAttribute>(Collection::AddIfMissing);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment