[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: proko2: kdepim/kresources/kolab/knotes
From:       David Faure <faure () kde ! org>
Date:       2004-07-05 10:59:39
Message-ID: 200407051259.40422.faure () kde ! org
[Download RAW message or body]

On Thursday 01 July 2004 14:34, Michael Brade wrote:
> On Wednesday 30 June 2004 19:20, David Faure wrote:
> > (I wonder why it's not done in KNotesResourceManager::addNewNote instead of
> > doing it in all resources, but I didn't dare touching that).
> Because <resource>::load() needs to addNewNote(), but must not registerNote(), 
> i.e. <resource>::addNote(). Otherwise you'd end up with infinite loops or 
> double notes.

I don't see any call to addNewNote() in either <resource>::load()...
On the contrary, they call registerNote() directly.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic