Commit 677533b5 authored by Volker Krause's avatar Volker Krause

Adapt to KCalUtils changes

parent 85d0ed23
......@@ -35,7 +35,7 @@ set(AKONADICONTACT_LIB_VERSION "5.6.40")
set(AKONADI_LIB_VERSION "5.6.40")
set(MAILTRANSPORT_LIB_VERSION "5.6.40")
set(KCONTACTS_LIB_VERSION "5.6.40")
set(CALENDARUTILS_LIB_VERSION "5.6.40")
set(CALENDARUTILS_LIB_VERSION "5.6.42")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.6.40")
ecm_setup_version(PROJECT VARIABLE_PREFIX AKONADICALENDAR
VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/akonadi-calendar_version.h"
......
......@@ -41,7 +41,6 @@
#include <KLocalizedString>
#include <KJob>
#include <KProtocolManager>
#include <KSystemTimeZone>
using namespace Akonadi;
......@@ -119,8 +118,7 @@ void MailClient::mailAttendees(const KCalCore::IncidenceBase::Ptr &incidence,
subject = i18n("Free Busy Object");
}
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence,
KSystemTimeZones::local());
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence);
send(incidence, identity, from, to, cc, subject, body, false, bccMe, attachment, mailTransport);
}
......@@ -143,8 +141,7 @@ void MailClient::mailOrganizer(const KCalCore::IncidenceBase::Ptr &incidence,
subject = i18n("Free Busy Message");
}
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence,
KSystemTimeZones::local());
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence);
send(incidence, identity, from, to, QString(), subject, body, false, bccMe, attachment, mailTransport);
}
......@@ -164,8 +161,7 @@ void MailClient::mailTo(const KCalCore::IncidenceBase::Ptr &incidence,
subject = i18n("Free Busy Message");
}
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence,
KSystemTimeZones::local());
const QString body = KCalUtils::IncidenceFormatter::mailBodyStr(incidence);
send(incidence, identity, from, recipients, QString(), subject, body, false,
bccMe, attachment, mailTransport);
......
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