Commit 688a5c7c authored by Volker Krause's avatar Volker Krause
Browse files

Adapt to KCalCore::Attachment changes

parent 232262fa
......@@ -41,7 +41,7 @@ set(AKONADICALENDAR_LIB_VERSION "5.11.40")
set(AKONADI_VERSION "5.11.40")
set(LIBKDEPIM_LIB_VERSION "5.11.40")
set(CALENDARSUPPORT_LIB_VERSION "5.11.40")
set(KCALENDARCORE_LIB_VERSION "5.11.40")
set(KCALENDARCORE_LIB_VERSION "5.11.45")
set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}")
set(KDEPIM_LIB_SOVERSION "5")
......
......@@ -484,10 +484,10 @@ void CalendarJanitor::sanityCheck8()
foreach (const Akonadi::Item &item, m_itemsToProcess) {
KCalCore::Incidence::Ptr incidence = CalendarSupport::incidence(item);
if (!incidence->attachments().isEmpty()) {
foreach (const KCalCore::Attachment::Ptr &attachment, incidence->attachments()) {
if (!attachment->isUri()) {
foreach (const KCalCore::Attachment &attachment, incidence->attachments()) {
if (!attachment.isUri()) {
numAttachments++;
totalAttachmentSize += attachment->size();
totalAttachmentSize += attachment.size();
}
}
}
......
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