summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();