Commit bf485f1a authored by David Jarvie's avatar David Jarvie

Move KAEvent private stuff into the .cpp file, remove inlined methods

parent 28562603
......@@ -136,16 +136,18 @@ int Calendar::updateVersion(CalendarLocal& calendar, const QString& localFile, Q
// KAlarm version 0.5.7 - check whether times are stored in UTC, in which
// case it is the KDE 3.0.0 version, which needs adjustment of summer times.
version057_UTC = isUTC(localFile);
kDebug() << "KAlarm version 0.5.7 (" << (version057_UTC ?"" :"non-") << "UTC)";
if (isUTC(localFile))
version = -version;
kDebug() << "KAlarm version 0.5.7 (" << (version < 0 ? "" : "non-") << "UTC)";
}
else
kDebug() << "KAlarm version" << version;
// Convert events to current KAlarm format for when/if the calendar is saved
#ifdef USE_AKONADI
KAEvent::convertKCalEvents(fileStorage->calendar(), version, version057_UTC);
KAEvent::convertKCalEvents(fileStorage->calendar(), version);
#else
KAEvent::convertKCalEvents(calendar, version, version057_UTC);
KAEvent::convertKCalEvents(calendar, version);
#endif
return version;
}
......
This diff is collapsed.
This diff is collapsed.
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