Commit d9e02518 authored by David Jarvie's avatar David Jarvie
Browse files

KACalendar::updateVersion should set the new calendar version

parent 67f5a0b9
......@@ -121,8 +121,10 @@ int updateVersion(const FileStorage::Ptr &fileStorage, QString &versionString)
qCDebug(KALARMCAL_LOG) << "KAlarm version" << version;
}
// Convert events to current KAlarm format for when/if the calendar is saved
// Convert events to current KAlarm format for when/if the calendar is saved.
KAEvent::convertKCalEvents(fileStorage->calendar(), ver);
// Set the new calendar version.
setKAlarmVersion(fileStorage->calendar());
return version;
}
......
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