-rw-r--r-- | libkcal/icalformatimpl.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libkcal/icalformatimpl.cpp b/libkcal/icalformatimpl.cpp index 3437f45..df05ab3 100644 --- a/libkcal/icalformatimpl.cpp +++ b/libkcal/icalformatimpl.cpp | |||
@@ -271,15 +271,12 @@ void ICalFormatImpl::writeIncidence(icalcomponent *parent,Incidence *incidence) | |||
271 | incidence->setNonKDECustomProperty("X-ZAURUSID", QString::number(incidence->zaurusId())); | 271 | incidence->setNonKDECustomProperty("X-ZAURUSID", QString::number(incidence->zaurusId())); |
272 | } | 272 | } |
273 | 273 | ||
274 | if (incidence->zaurusUid() > 0) { | 274 | if (incidence->zaurusUid() > 0) { |
275 | incidence->setNonKDECustomProperty("X-ZAURUSUID", QString::number(incidence->zaurusUid())); | 275 | incidence->setNonKDECustomProperty("X-ZAURUSUID", QString::number(incidence->zaurusUid())); |
276 | } | 276 | } |
277 | if (incidence->zaurusStat() > 0) { | ||
278 | incidence->setNonKDECustomProperty("X-ZAURUSSTAT", QString::number(incidence->zaurusStat())); | ||
279 | } | ||
280 | 277 | ||
281 | writeIncidenceBase(parent,incidence); | 278 | writeIncidenceBase(parent,incidence); |
282 | if (incidence->cancelled()) { | 279 | if (incidence->cancelled()) { |
283 | icalcomponent_add_property(parent,icalproperty_new_status(ICAL_STATUS_CANCELLED)); | 280 | icalcomponent_add_property(parent,icalproperty_new_status(ICAL_STATUS_CANCELLED)); |
284 | } | 281 | } |
285 | 282 | ||
@@ -1290,17 +1287,12 @@ void ICalFormatImpl::readIncidence(icalcomponent *parent,Incidence *incidence) | |||
1290 | 1287 | ||
1291 | kp = incidence->nonKDECustomProperty("X-ZAURUSUID"); | 1288 | kp = incidence->nonKDECustomProperty("X-ZAURUSUID"); |
1292 | if (!kp.isNull()) { | 1289 | if (!kp.isNull()) { |
1293 | incidence->setZaurusUid(kp.toInt()); | 1290 | incidence->setZaurusUid(kp.toInt()); |
1294 | } | 1291 | } |
1295 | 1292 | ||
1296 | kp = incidence->nonKDECustomProperty("X-ZAURUSSTAT"); | ||
1297 | if (!kp.isNull()) { | ||
1298 | incidence->setZaurusStat(kp.toInt()); | ||
1299 | } | ||
1300 | |||
1301 | // Cancel backwards compatibility mode for subsequent changes by the application | 1293 | // Cancel backwards compatibility mode for subsequent changes by the application |
1302 | incidence->recurrence()->setCompatVersion(); | 1294 | incidence->recurrence()->setCompatVersion(); |
1303 | 1295 | ||
1304 | // add categories | 1296 | // add categories |
1305 | incidence->setCategories(categories); | 1297 | incidence->setCategories(categories); |
1306 | 1298 | ||