-rw-r--r-- | libkcal/icalformat.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libkcal/icalformat.cpp b/libkcal/icalformat.cpp index 5893db5..f2e7dfc 100644 --- a/libkcal/icalformat.cpp +++ b/libkcal/icalformat.cpp | |||
@@ -416,14 +416,15 @@ ScheduleMessage *ICalFormat::parseScheduleMessage( Calendar *cal, | |||
416 | } | 416 | } |
417 | } else { | 417 | } else { |
418 | calendarComponent = 0; | 418 | calendarComponent = 0; |
419 | } | 419 | } |
420 | 420 | qDebug("icalclassify commented out "); | |
421 | ScheduleMessage::Status status; | ||
422 | #if 0 | ||
421 | 423 | ||
422 | icalclass result = icalclassify(message,calendarComponent,(char *)""); | 424 | icalclass result = icalclassify(message,calendarComponent,(char *)""); |
423 | 425 | ||
424 | 426 | ||
425 | ScheduleMessage::Status status; | ||
426 | 427 | ||
427 | switch (result) { | 428 | switch (result) { |
428 | case ICAL_PUBLISH_NEW_CLASS: | 429 | case ICAL_PUBLISH_NEW_CLASS: |
429 | status = ScheduleMessage::PublishNew; | 430 | status = ScheduleMessage::PublishNew; |
@@ -441,9 +442,10 @@ ScheduleMessage *ICalFormat::parseScheduleMessage( Calendar *cal, | |||
441 | default: | 442 | default: |
442 | status = ScheduleMessage::Unknown; | 443 | status = ScheduleMessage::Unknown; |
443 | break; | 444 | break; |
444 | } | 445 | } |
445 | 446 | #endif | |
447 | status = ScheduleMessage::RequestUpdate; | ||
446 | return new ScheduleMessage(incidence,method,status); | 448 | return new ScheduleMessage(incidence,method,status); |
447 | } | 449 | } |
448 | 450 | ||
449 | void ICalFormat::setTimeZone( const QString &id, bool utc ) | 451 | void ICalFormat::setTimeZone( const QString &id, bool utc ) |