summaryrefslogtreecommitdiff
path: root/src/xcalconversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/xcalconversions.h')
-rw-r--r--src/xcalconversions.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xcalconversions.h b/src/xcalconversions.h
index 85d98ed..b30053f 100644
--- a/src/xcalconversions.h
+++ b/src/xcalconversions.h
@@ -842,6 +842,10 @@ void setIncidenceProperties(I &inc, const T &prop)
inc.setDescription(toString(*prop.description()));
}
+ if (prop.comment()) {
+ inc.setComment(toString(*prop.comment()));
+ }
+
if (prop.status()) {
const std::string &status = toString(*prop.status());
if (status == NEEDSACTION) {
@@ -1118,6 +1122,10 @@ void getIncidenceProperties(T &prop, const I &inc)
prop.description(typename properties::description_type(inc.description()));
}
+ if (!inc.comment().empty()) {
+ prop.comment(typename properties::comment_type(inc.comment()));
+ }
+
if (inc.status() != StatusUndefined) {
switch (inc.status()) {
case StatusNeedsAction: