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

List:       kde-commits
Subject:    kdepim/kresources/imap/knotes
From:       Mario Teijeiro Otero <emeteo () escomposlinux ! org>
Date:       2004-10-08 10:28:07
Message-ID: 20041008102807.ABADC16B60 () office ! kde ! org
[Download RAW message or body]

CVS commit by mteijeiro: 

* when the notes are loaded from imap resource, those have to be registrated
on the manager. Now, knotes show the list of notes that are in the imap resource.


  M +4 -2      resourceimap.cpp   1.22


--- kdepim/kresources/imap/knotes/resourceimap.cpp  #1.21:1.22
@@ -85,6 +85,8 @@ bool KNotesIMAP::ResourceIMAP::populate(
   for ( QStringList::ConstIterator it = lst.begin(); it != lst.end(); ++it ) {
     KCal::Journal* journal = parseJournal( *it );
-    if( journal )
+    if( journal ) {
       addNote( journal, resource );
+      mManager->registerNote( this, journal );
+    }
   }
   mSilent = silent;


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

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