diff --git a/kmailicalifaceimpl.cpp b/kmailicalifaceimpl.cpp index b08262dc2..754c6222f 100644 --- a/kmailicalifaceimpl.cpp +++ b/kmailicalifaceimpl.cpp @@ -799,6 +799,8 @@ Q_UINT32 KMailICalIfaceImpl::update( const QString& resource, kdError(5006) << "update(" << resource << ") : Folder has wrong storage format " << storageFormat( f ) << endl; return rc; } + + f->open(); bool quiet = mResourceQuiet; mResourceQuiet = true; @@ -859,6 +861,8 @@ Q_UINT32 KMailICalIfaceImpl::update( const QString& resource, attachmentMimetypes ); } + f->close(); + mResourceQuiet = quiet; return rc; }