Commit e0bcf398 authored by Volker Krause's avatar Volker Krause
Browse files

Adapt to displayName() moving to akonadi-calendar

parent 8f03dec5
Pipeline #173466 passed with stage
in 6 minutes and 14 seconds
......@@ -49,7 +49,7 @@ set(IDENTITYMANAGEMENT_LIB_VERSION "5.20.40")
set(KLDAP_LIB_VERSION "5.20.40")
set(KMAILTRANSPORT_LIB_VERSION "5.20.40")
set(CALENDARUTILS_LIB_VERSION "5.20.40")
set(AKONADICALENDAR_LIB_VERSION "5.20.42")
set(AKONADICALENDAR_LIB_VERSION "5.20.43")
set(KONTACTINTERFACE_LIB_VERSION "5.20.40")
set(KMIME_LIB_VERSION "5.20.40")
set(KPIMTEXTEDIT_LIB_VERSION "5.20.40")
......
......@@ -8,6 +8,7 @@
#include "korganizer_debug.h"
#include "ui_quickview.h"
#include <Akonadi/CalendarUtils>
#include <Akonadi/ChangeRecorder>
#include <Akonadi/EntityDisplayAttribute>
#include <Akonadi/ItemFetchScope>
......@@ -15,7 +16,6 @@
#include <KCalendarCore/Event>
#include <KCalendarCore/MemoryCalendar>
#include <CalendarSupport/Utils>
#include <EventViews/AgendaView>
#include <KCheckableProxyModel>
......@@ -70,11 +70,11 @@ Quickview::Quickview(const Akonadi::Collection &col)
calendar->setCollectionFilteringEnabled(false);
mAgendaView->setCalendar(calendar);
setWindowTitle(i18nc("@title:window", "%1", CalendarSupport::displayName(calendar.data(), mCollection)));
setWindowTitle(i18nc("@title:window", "%1", Akonadi::CalendarUtils::displayName(calendar.data(), mCollection)));
mUi->calendar->addWidget(mAgendaView);
setWindowTitle(i18nc("@title:window", "%1", CalendarSupport::displayName(calendar.data(), mCollection)));
setWindowTitle(i18nc("@title:window", "%1", Akonadi::CalendarUtils::displayName(calendar.data(), mCollection)));
connect(mUi->mTodayBtn, &QPushButton::clicked, this, &Quickview::onTodayClicked);
connect(mUi->mNextBtn, &QPushButton::clicked, this, &Quickview::onNextClicked);
......
Supports Markdown
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