From fe11fc5325add5583fd0e0e80a7eaf5fd2dcf105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20Knau=C3=9F?= Date: Wed, 25 Jun 2014 13:33:09 +0200 Subject: Add for all circumstances the uid to ifb files --- kcalcore/icalformat_p.cpp | 5 ++--- 1 file 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(); -- cgit v0.12