Commit 009d46b7 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖

Port away from KSystemTimeZone

parent 677533b5
......@@ -27,8 +27,8 @@
#include <collectionfetchjob.h>
#include <collection.h>
#include <KSystemTimeZones>
#include <KLocalizedString>
using namespace Akonadi;
using namespace KCalCore;
......@@ -408,7 +408,7 @@ void CalendarBasePrivate::handleParentChanged(const KCalCore::Incidence::Ptr &ne
}
CalendarBase::CalendarBase(QObject *parent)
: MemoryCalendar(KSystemTimeZones::local())
: MemoryCalendar(KDateTime::LocalZone)
, d_ptr(new CalendarBasePrivate(this))
{
setParent(parent);
......@@ -416,7 +416,7 @@ CalendarBase::CalendarBase(QObject *parent)
}
CalendarBase::CalendarBase(CalendarBasePrivate *const dd, QObject *parent)
: MemoryCalendar(KSystemTimeZones::local())
: MemoryCalendar(KDateTime::LocalZone)
, d_ptr(dd)
{
setParent(parent);
......
......@@ -29,7 +29,6 @@
#include "akonadicalendar_debug.h"
#include <KLocalizedString>
#include <KMessageBox>
#include <KSystemTimeZones>
using namespace KCalCore;
using namespace Akonadi;
......@@ -51,7 +50,7 @@ Scheduler::Scheduler(QObject *parent) : QObject(parent)
, d(new Akonadi::Scheduler::Private(this))
{
mFormat = new ICalFormat();
mFormat->setTimeSpec(KSystemTimeZones::local());
mFormat->setTimeSpec(KDateTime::LocalZone);
}
Scheduler::~Scheduler()
......
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