Commit 61a14566 authored by Volker Krause's avatar Volker Krause
Browse files

Remove unnecessary list copy

Summary: This also removes the last references to SortableList from here.

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision:
parent 0223dce8
......@@ -1211,13 +1211,7 @@ Duration KARecurrence::regularInterval() const
DateTimeList KARecurrence::exDateTimes() const
const auto l = d->mRecurrence.exDateTimes();
DateTimeList rv;
for (const auto &qdt : l) {
rv << qdt;
return rv;
return d->mRecurrence.exDateTimes();
DateList KARecurrence::exDates() const
......@@ -1227,12 +1221,7 @@ DateList KARecurrence::exDates() const
void KARecurrence::setExDateTimes(const DateTimeList &exdates)
SortableList<QDateTime> l;
for (const auto &kdt : exdates) {
l << kdt;
void KARecurrence::setExDates(const DateList &exdates)
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