Fix to result code of incidence updates.
(cherry picked from commit 06f08ecb5a
)
This commit is contained in:
parent
32aee2fa77
commit
afa2633365
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ TestingSyncSource::InsertItemResult KCalExtendedSource::insertItem(const string
|
|||
newUID = m_data->getItemID(incidence).getLUID();
|
||||
} else {
|
||||
KCalCore::Incidence::Ptr incidence = incidences[0];
|
||||
updated = ITEM_MERGED;
|
||||
updated = uid.empty() ? ITEM_REPLACED : ITEM_OKAY;
|
||||
newUID = oldUID;
|
||||
KCalCore::Incidence::Ptr original = m_data->findIncidence(oldUID);
|
||||
if (!original) {
|
||||
|
|
Loading…
Reference in a new issue