[Korganizer-devel] [Bug 143511] korganizer doesn't save resources immediately when changed or deleted

Jason vanRijn Kasper vR at movingparts.net
Wed Apr 4 16:32:59 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=143511         




------- Additional Comments From vR movingparts net  2007-04-04 16:32 -------
SVN commit 650424 by vanrijn:

- adding setSavePolicy( SaveDelayed ); to resourcelocal/resourcelocaldir
  per reinhold to address bug 143511

CCBUGS:143511


 M  +2 -0      branches/work/kdepim-3.5.5+/libkcal/resourcelocal.cpp  
 M  +2 -0      branches/work/kdepim-3.5.5+/libkcal/resourcelocaldir.cpp  


--- branches/work/kdepim-3.5.5+/libkcal/resourcelocal.cpp #650423:650424
 @ -109,6 +109,8  @
 
   setType( "file" );
 
+  setSavePolicy( SaveDelayed );
+
   connect( &mDirWatch, SIGNAL( dirty( const QString & ) ),
            SLOT( reload() ) );
   connect( &mDirWatch, SIGNAL( created( const QString & ) ),
--- branches/work/kdepim-3.5.5+/libkcal/resourcelocaldir.cpp #650423:650424
 @ -89,6 +89,8  @
 {
   setType( "dir" );
 
+  setSavePolicy( SaveDelayed );
+
   connect( &mDirWatch, SIGNAL( dirty( const QString & ) ),
            SLOT( reload( const QString & ) ) );
   connect( &mDirWatch, SIGNAL( created( const QString & ) ),


More information about the Korganizer-devel mailing list