Branch 'kolab/integration/4.13.0' - kcalcore/icalformat_p.cpp
Christian Mollekopf
mollekopf at kolabsys.com
Mon Dec 1 12:23:23 CET 2014
kcalcore/icalformat_p.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 361ccb1c60576cf216bbc4051db933958f71aa09
Author: Christian Mollekopf <chrigi_1 at fastmail.fm>
Date: Fri Nov 28 17:06:00 2014 +0100
KCalCore: Do not print debug info on every x-property.
diff --git a/kcalcore/icalformat_p.cpp b/kcalcore/icalformat_p.cpp
index 41a833c..03ea0ad 100644
--- a/kcalcore/icalformat_p.cpp
+++ b/kcalcore/icalformat_p.cpp
@@ -1233,11 +1233,11 @@ Todo::Ptr ICalFormatImpl::readTodo(icalcomponent *vtodo, ICalTimeZones *tzlist)
break;
case ICAL_X_PROPERTY:
{
+ //FIXME we should figure out which x-property we're trying to read here.
+ //Just setting any parsable date that happens to be stored in an x-property is clearly wrong.
const KDateTime dateTime = readICalDateTimeProperty(p, tzlist);
if (dateTime.isValid()) {
todo->setDtRecurrence(dateTime);
- } else {
- kDebug() << "Invalid dateTime";
}
}
break;
More information about the commits
mailing list