Commit cb0eb0fa authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Make sure itemChanged sets item and not just ptr



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 53153260
Pipeline #188250 failed with stage
in 2 minutes and 10 seconds
......@@ -852,7 +852,7 @@ void IncidenceWrapper::itemChanged(const Akonadi::Item &item)
{
if (item.hasPayload<KCalendarCore::Incidence::Ptr>()) {
qCDebug(KALENDAR_LOG) << item.payload<KCalendarCore::Incidence::Ptr>()->summary() << item.parentCollection().id();
setIncidencePtr(item.payload<KCalendarCore::Incidence::Ptr>());
setIncidenceItem(item);
}
}
#ifndef UNITY_CMAKE_SUPPORT
......
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