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

List:       kde-pim
Subject:    [Kde-pim] KDE/kdepimlibs/kcal
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-09-06 18:23:22
Message-ID: 1220725402.064492.31706.nullmailer () svn ! kde ! org
[Download RAW message or body]

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@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@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


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

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