diff options
-rw-r--r-- | examples/caldavresource/caldavresource.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/caldavresource/caldavresource.cpp b/examples/caldavresource/caldavresource.cpp index 900681d..d9f8c69 100644 --- a/examples/caldavresource/caldavresource.cpp +++ b/examples/caldavresource/caldavresource.cpp | |||
@@ -113,8 +113,6 @@ protected: | |||
113 | { | 113 | { |
114 | SinkLog() << "Replaying event"; | 114 | SinkLog() << "Replaying event"; |
115 | 115 | ||
116 | //auto incidence = KCalCore::ICalFormat().readIncidence(rawIcal); | ||
117 | |||
118 | KDAV2::DavItem item; | 116 | KDAV2::DavItem item; |
119 | 117 | ||
120 | switch (operation) { | 118 | switch (operation) { |
@@ -138,7 +136,7 @@ protected: | |||
138 | item.setUrl(urlOf(oldRemoteId)); | 136 | item.setUrl(urlOf(oldRemoteId)); |
139 | 137 | ||
140 | SinkLog() << "Removing event:" << oldRemoteId; | 138 | SinkLog() << "Removing event:" << oldRemoteId; |
141 | return removeItem(item).then([oldRemoteId] { return oldRemoteId; }); | 139 | return removeItem(item).then([] { return QByteArray{}; }); |
142 | } | 140 | } |
143 | case Sink::Operation_Modification: | 141 | case Sink::Operation_Modification: |
144 | auto rawIcal = event.getIcal(); | 142 | auto rawIcal = event.getIcal(); |