From kde-pim Sun Aug 17 20:21:00 2003 From: Cornelius Schumacher Date: Sun, 17 Aug 2003 20:21:00 +0000 To: kde-pim Subject: Re: [Kde-pim] [BUG] mTodoList not cleared on CalendarLocal::load X-MARC-Message: https://marc.info/?l=kde-pim&m=106115202110543 On Friday 15 August 2003 18:01, Mark Bucciarelli wrote: > On Thursday 14 August 2003 10:49 pm, Mark Bucciarelli wrote: > > The attached patch fixes this problem. Can I apply this patch? > > Without it, people cannot change to a different calendar file in > > KArm. > > Actually, it's not that dire. I just put the same three statements > in KarmStorage before loading. > > There may be other state that needs to be cleared, like the orphan > list. Perhaps CalendarLocal should expose a clear() method so you can > clear the contents without having to load something? There is CalendarLocal::close(). I clarified the API docs. -- Cornelius Schumacher _______________________________________________ kde-pim mailing list kde-pim@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-pim kde-pim home page at http://pim.kde.org/