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 7c12c8b2 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Port Period and Duration to QDateTime

parent 46974344
......@@ -34,6 +34,7 @@
#include <KCalCore/Recurrence>
#include <KCalCore/RecurrenceRule>
#include <KCalCore/ICalFormat>
#include <KCalCore/Utils>
#include <QJsonDocument>
......@@ -459,7 +460,7 @@ ObjectPtr Private::JSONToEvent(const QVariantMap& data, const QString &timezone)
for (const QVariant & r : overrides) {
QVariantMap override = r.toMap();
KCalCore::Alarm::Ptr alarm(new KCalCore::Alarm(static_cast<KCalCore::Incidence*>(;
if (override.value(QStringLiteral("method")).toString() == QLatin1String("popup")) {
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