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

Port Kontact plugin away from KSystemTimeZones

parent e90a45e0
......@@ -45,7 +45,6 @@ using namespace KCalCore;
#include <QIcon>
#include <KLocalizedString>
#include <KMessageBox>
#include <KSystemTimeZones>
#include <QTemporaryFile>
#include <QDBusConnection>
......@@ -156,7 +155,7 @@ void KNotesPlugin::processDropEvent(QDropEvent *event)
if (KCalUtils::ICalDrag::canDecode(md)) {
KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(KSystemTimeZones::local()));
KCalCore::MemoryCalendar::Ptr cal(new KCalCore::MemoryCalendar(KDateTime::LocalZone));
if (KCalUtils::ICalDrag::fromMimeData(md, cal)) {
KCalCore::Incidence::List incidences = cal->incidences();
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