Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 6785411c authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Use helper methods to convert between KDT and QDT

parent 3fabe09b
......@@ -1613,7 +1613,7 @@ void CalendarView::dissociateOccurrence(const Akonadi::Item &item, const QDate &
} else {
startMultiModify(i18n("Dissociate occurrence"));
QDateTime occurrenceDate = incidence->dtStart().dateTime();
QDateTime occurrenceDate = KCalCore::k2q(incidence->dtStart());
qCDebug(KORGANIZER_LOG) << "create exception: " << occurrenceDate;
KCalCore::Incidence::Ptr newInc(KCalCore::Calendar::createException(
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