diff --git a/kresources/caldav/resource.cpp b/kresources/caldav/resource.cpp index 1e52b3ec..4e154202 100644 --- a/kresources/caldav/resource.cpp +++ b/kresources/caldav/resource.cpp @@ -207,11 +207,6 @@ bool ResourceCalDav::doSave() { } -bool ResourceCalDav::doSave( bool syncCache, Incidence *incidence ) { - // To suppress warning about doSave(bool) method hides ResourceCached::doSave(bool, Incidence) - return ResourceCached::doSave(); -} - KABC::Lock* ResourceCalDav::lock() { log("lock()"); return &mLock; diff --git a/kresources/caldav/resource.h b/kresources/caldav/resource.h index deba22b7..ba1f3e9a 100644 --- a/kresources/caldav/resource.h +++ b/kresources/caldav/resource.h @@ -95,14 +95,9 @@ protected: }; -// virtual bool doLoad( bool syncCache ); -// virtual bool doSave( bool syncCache ); - virtual bool doLoad(); // virtual bool doSave(); - virtual bool doSave( bool syncCache, Incidence *incidence ); - virtual KABC::Lock* lock(); /**