Git commit 54f8b8b7b7dff275e841603da94af71d4afac593 by Montel Laurent. Committed on 30/06/2015 at 20:49. Pushed by mlaurent into branch 'master'. Fix read/write vcarddir. Now we can store contact in vcarddir too M +2 -2 resources/vcarddir/vcarddirresource.cpp http://commits.kde.org/kdepim-runtime/54f8b8b7b7dff275e841603da94af71d4afac= 593 diff --git a/resources/vcarddir/vcarddirresource.cpp b/resources/vcarddir/v= carddirresource.cpp index 53fc3b7..f23b9da 100644 --- a/resources/vcarddir/vcarddirresource.cpp +++ b/resources/vcarddir/vcarddirresource.cpp @@ -219,9 +219,9 @@ void VCardDirResource::retrieveCollections() mimeTypes << KContacts::Addressee::mimeType(); c.setContentMimeTypes(mimeTypes); if (Settings::self()->readOnly()) { - c.setRights(Collection::CanChangeCollection); + c.setRights(Collection::ReadOnly); } else { - Collection::Rights rights =3D Collection::ReadOnly; + Collection::Rights rights; rights |=3D Collection::CanChangeItem; rights |=3D Collection::CanCreateItem; rights |=3D Collection::CanDeleteItem;