[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] Re: Single file resources create new collection when
From: Sérgio_Martins <iamsergio () gmail ! com>
Date: 2011-07-31 21:47:59
Message-ID: CA+hbW7R=Hwru+7JBzTqNEs5N31dao+h7gbjC6QG5OHFEuv6Oug () mail ! gmail ! com
[Download RAW message or body]
2011/7/31 David Jarvie <djarvie@kde.org>:
> The SingleFileResource base class does a clearCache() and synchronize() when it \
> re-reads the backend file (e.g. if it is changed by an external process). This has \
> the side effect that the resource's collection is removed and a new one created. \
> The way I've coded things in KAlarm, this poses a problem, because KAlarm stores \
> collection IDs to identify its calendars. If a resource changes its collection ID, \
> this makes KAlarm think that the calendar has been deleted, and a new one created, \
> when all that has really happened is that the calendar's contents have changed.
This explains why calendars forget their colour settings in korganizer.
Regards,
Sérgio
_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic