[Kde-pim] KDE/kdepimlibs/kcal

Kevin Krammer kevin.krammer at gmx.at
Sat Sep 6 19:23:22 BST 2008


SVN commit 857868 by krake:

Fixed violation of API contract in the base class of at least two KCal resource plugins (local file and local dir).

CCMAIL: kde-pim at kde.org


 M  +5 -1      resourcecached.cpp  


--- trunk/KDE/kdepimlibs/kcal/resourcecached.cpp #857867:857868
@@ -425,6 +425,9 @@
 
   kDebug() << "Done loading resource" << resourceName();
 
+  if ( success )
+    emit resourceLoaded( this );
+
   return success;
 }
 
@@ -483,7 +486,8 @@
     bool success = incidence ? doSave( upload, incidence ) : doSave( upload );
     if ( !success && !receivedSaveError() ) {
       saveError();
-    }
+    } else
+      emit resourceSaved( this );
     return success;
   } else {
     // Read-only, just don't save...
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list