Commit fd3227ff authored by Volker Krause's avatar Volker Krause

Get rid of ICalTimeZones here.

The timezone cache is now hidden inside KCalCore.
parent 4cbd924a
......@@ -39,7 +39,6 @@ using namespace KCalUtils;
using namespace Akonadi;
SerializerPluginKCalCore::SerializerPluginKCalCore()
: mTimeZones(new ICalTimeZones)
{
}
......@@ -86,7 +85,7 @@ bool SerializerPluginKCalCore::deserialize(Item &item, const QByteArray &label,
incidence = base.staticCast<KCalCore::Incidence>();
} else {
// Use the old format
incidence = mFormat.readIncidence(data.readAll(), mTimeZones.data());
incidence = mFormat.readIncidence(data.readAll());
}
if (!incidence) {
......
......@@ -26,7 +26,6 @@
#include <AkonadiCore/itemserializerplugin.h>
#include <AkonadiCore/gidextractorinterface.h>
#include <KCalCore/ICalFormat>
#include <KCalCore/ICalTimeZones>
namespace Akonadi
{
......@@ -55,7 +54,6 @@ public:
private:
KCalCore::ICalFormat mFormat;
QSharedPointer<KCalCore::ICalTimeZones> mTimeZones;
};
}
......
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