Commit be7b9092 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix compile error

parent e0954456
......@@ -5492,7 +5492,7 @@ bool KAEventPrivate::convertStartOfDay(const Event::Ptr &event)
const KDateTime oldDt = q2k(event->dtStart());
const int adjustment = oldDt.time().secsTo(midnight);
if (adjustment) {
event->setDtStart(ktoq(KDateTime(oldDt.date(), midnight, oldDt.timeSpec())));
event->setDtStart(k2q(KDateTime(oldDt.date(), midnight, oldDt.timeSpec())));
int deferralOffset = 0;
AlarmMap alarmMap;
readAlarms(event, &alarmMap);
......
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