Commit 08fce6b0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

We depend against new version

parent f1dec5df
Pipeline #154027 passed with stage
in 49 seconds
......@@ -6,7 +6,6 @@
#include "calendarinterface.h"
#include "logging.h"
#include <akonadi-calendar_version.h>
#include <KIO/ApplicationLauncherJob>
......@@ -243,11 +242,7 @@ void KalendarAlarmClient::checkAlarms()
// look for new alarms
const Alarm::List alarms = mCalendar->alarms(from, mLastChecked, true /* exclude blocked alarms */);
for (const Alarm::Ptr &alarm : alarms) {
#if AKONADICALENDAR_VERSION < QT_VERSION_CHECK(5, 19, 41)
const QString uid = alarm->customProperty("ETMCalendar", "parentUid");
#else
const QString uid = alarm->parentUid();
#endif
const auto incidence = mCalendar->incidence(uid);
const auto occurrence = occurrenceForAlarm(incidence, alarm, from);
addNotification(uid, alarm->text(), occurrence, mLastChecked);
......
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