|
|
@ -2174,7 +2174,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
|
|
|
|
return cal->exception() && cal->exception()->errorCode() == ErrorFormat::UserCancel;
|
|
|
|
return cal->exception() && cal->exception()->errorCode() == ErrorFormat::UserCancel;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n\r");
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
// Add this todo to its parent
|
|
|
|
// Add this todo to its parent
|
|
|
@ -2212,7 +2212,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
|
|
|
|
if (!cal->event(event->uid())) {
|
|
|
|
if (!cal->event(event->uid())) {
|
|
|
|
cal->addEvent(event);
|
|
|
|
cal->addEvent(event);
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n\r");
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
// Add this event to its parent
|
|
|
|
// Add this event to its parent
|
|
|
@ -2250,7 +2250,7 @@ bool ICalFormatImpl::populate( Calendar *cal, icalcomponent *calendar )
|
|
|
|
if (!cal->journal(journal->uid())) {
|
|
|
|
if (!cal->journal(journal->uid())) {
|
|
|
|
cal->addJournal(journal);
|
|
|
|
cal->addJournal(journal);
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
if (!cal->event(originalUid)) {
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n\r");
|
|
|
|
printf("FIXME! [WARNING] Parent for child event does not yet exist!\n");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
// Add this journal to its parent
|
|
|
|
// Add this journal to its parent
|
|
|
|