Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3fabe09b authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Adapt to KCalCore recurrenceId changes

parent a9d088c1
......@@ -1613,9 +1613,9 @@ void CalendarView::dissociateOccurrence(const Akonadi::Item &item, const QDate &
} else {
startMultiModify(i18n("Dissociate occurrence"));
}
KDateTime occurrenceDate(incidence->dtStart());
QDateTime occurrenceDate = incidence->dtStart().dateTime();
occurrenceDate.setDate(date);
qCDebug(KORGANIZER_LOG) << "create exception: " << occurrenceDate.dateTime();
qCDebug(KORGANIZER_LOG) << "create exception: " << occurrenceDate;
KCalCore::Incidence::Ptr newInc(KCalCore::Calendar::createException(
incidence, occurrenceDate, thisAndFuture));
if (newInc) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment