diff --git a/src/google/google-calendars/googlecalendarsyncadaptor.cpp b/src/google/google-calendars/googlecalendarsyncadaptor.cpp index 23341aa..02dd8d6 100644 --- a/src/google/google-calendars/googlecalendarsyncadaptor.cpp +++ b/src/google/google-calendars/googlecalendarsyncadaptor.cpp @@ -2122,6 +2122,7 @@ void GoogleCalendarSyncAdaptor::applyRemoteChangesLocally(int accountId) notebook->setColor(m_serverCalendarIdToCalendarInfo[accountId].value(serverCalendarId).color); notebook->setDescription(m_serverCalendarIdToCalendarInfo[accountId].value(serverCalendarId).description); notebook->setPluginName(QStringLiteral("google-") + serverCalendarId); + notebook->setSharedWith(QStringList() << serverCalendarId); notebook->setAccount(QString::number(accountId)); m_storage->addNotebook(notebook); m_storageNeedsSave = true;