[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdepim/libkcal
From: Bo Thorsen <bo () sonofthor ! dk>
Date: 2003-01-13 14:55:43
[Download RAW message or body]
CVS commit by thorsen:
The variable c is used later for error message so don't overwrite it when incidence has been set
M +10 -6 icalformat.cpp 1.37
--- kdepim/libkcal/icalformat.cpp #1.36:1.37
@@ -270,12 +270,16 @@ ScheduleMessage *ICalFormat::parseSchedu
}
+ if (!incidence) {
c = icalcomponent_get_first_component(message,ICAL_VTODO_COMPONENT);
if (c) {
incidence = mImpl->readTodo(c);
}
+ }
+ if (!incidence) {
c = icalcomponent_get_first_component(message,ICAL_VFREEBUSY_COMPONENT);
if (c) {
incidence = mImpl->readFreeBusy(c);
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic