Fix to result code of incidence updates.

(cherry picked from commit 06f08ecb5a)
This commit is contained in:
Ove Kåven 2012-08-11 10:17:41 +02:00
parent 32aee2fa77
commit afa2633365

View file

@ -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) {