Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ad019ce9 authored by David Jarvie's avatar David Jarvie

Minor comment fixes

parent 73792f82
......@@ -1548,6 +1548,7 @@ Alarm::Ptr KAEventPrivate::initKCalAlarm(const KCalCore::Event::Ptr &event, int
if (mRepetition)
alarm->setCustomProperty(KACalendar::APPNAME, NEXT_REPEAT_PROPERTY,
QString::number(mNextRepeat));
// fall through to INVALID_ALARM
Q_FALLTHROUGH();
case REMINDER_ALARM:
case INVALID_ALARM: {
......
......@@ -636,8 +636,8 @@ public:
QString emailAddresses(const QString &sep) const;
/** Concatenate a list of email addresses into a string.
* @param addresses the addresses.
* @param sep separator string to insert between addresses.
* @param addresses list of email addresses
* @param sep separator string to insert between addresses
*/
static QString joinEmailAddresses(const KCalCore::Person::List &addresses, const QString &sep);
/** Return the list of email addressees, excluding names, for an email alarm. */
......@@ -1160,8 +1160,8 @@ public:
/** Get the date/time of the next occurrence of the event, after the specified
* date/time.
* @param preDateTime the specified date/time.
* @param result date/time of next occurrence, or invalid date/time if none.
* @param option how/whether to make allowance for sub-repetitions.
* @param result date/time of next occurrence, or invalid date/time if none.
* @param option how/whether to make allowance for sub-repetitions.
* @see nextRepetition(), setNextOccurrence(), previousOccurrence(), occursAfter()
*/
OccurType nextOccurrence(const KADateTime &preDateTime, DateTime &result, OccurOption option = IGNORE_REPETITION) const;
......
......@@ -335,8 +335,8 @@ void KARecurrence::Private::fix()
// Convert an hourly recurrence to a minutely one
rrule->setRecurrenceType(RecurrenceRule::rMinutely);
rrule->setFrequency(rrule->frequency() * 60);
// fall through to rMinutely
Q_FALLTHROUGH();
// fall through to rMinutely
case Recurrence::rMinutely:
case Recurrence::rDaily:
case Recurrence::rWeekly:
......
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