summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Knauß <knauss@kolabsys.com>2014-06-25 11:33:09 (GMT)
committerSandro Knauß <knauss@kolabsys.com>2014-06-25 11:33:09 (GMT)
commitfe11fc5325add5583fd0e0e80a7eaf5fd2dcf105 (patch)
tree7df4a4bb56e8e00e0b3847180f7b0de701a836ef
parente85dc5fb78c91046596fc060a495be2106e552d9 (diff)
downloadlibcalendaring-fe11fc5325add5583fd0e0e80a7eaf5fd2dcf105.tar.gz
Add for all circumstances the uid to ifb files
-rw-r--r--kcalcore/icalformat_p.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/kcalcore/icalformat_p.cpp b/kcalcore/icalformat_p.cpp
index c1c1088..dfbbc05 100644
--- a/kcalcore/icalformat_p.cpp
+++ b/kcalcore/icalformat_p.cpp
@@ -349,10 +349,9 @@ icalcomponent *ICalFormatImpl::writeFreeBusy( const FreeBusy::Ptr &freebusy,
icalcomponent_add_property(
vfreebusy, icalproperty_new_dtend( writeICalUtcDateTime( freebusy->dtEnd() ) ) );
- if ( method == iTIPRequest ) {
- icalcomponent_add_property(
+ Q_UNUSED(method);
+ icalcomponent_add_property(
vfreebusy, icalproperty_new_uid( freebusy->uid().toUtf8() ) );
- }
//Loops through all the periods in the freebusy object
Period::List list = freebusy->busyPeriods();