Skip to content

Commit

Permalink
Merge branch 'readonly' into 'master'
Browse files Browse the repository at this point in the history
[buteo-sync-plugin-webcal] Create notebooks read-only.

See merge request mer-core/buteo-sync-plugin-webcal!2
  • Loading branch information
pvuorela committed Feb 12, 2020
2 parents 492ba74 + 1cbec68 commit a6b8e10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/webcalclient.cpp
Expand Up @@ -89,6 +89,7 @@ bool WebCalClient::init()
mKCal::Notebook::Ptr notebook(new mKCal::Notebook(mClient->key("label"), QString()));
notebook->setPluginName(getPluginName());
notebook->setSyncProfile(getProfileName());
notebook->setIsReadOnly(true);
if (!mStorage->addNotebook(notebook)) {
LOG_WARNING("Cannot create a new notebook" << notebook->uid());
return false;
Expand Down

0 comments on commit a6b8e10

Please sign in to comment.