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

Use for(...:...)

parent f7bac15b
Pipeline #78227 failed with stage
in 25 minutes and 17 seconds
...@@ -83,7 +83,7 @@ template<> char *toString(const QList<KCalendarCore::RecurrenceRule::WDayPos> &l ...@@ -83,7 +83,7 @@ template<> char *toString(const QList<KCalendarCore::RecurrenceRule::WDayPos> &l
template<> char *toString(const KCalendarCore::DateList &l) template<> char *toString(const KCalendarCore::DateList &l)
{ {
QByteArray ba = "KCalendarCore::DateList("; QByteArray ba = "KCalendarCore::DateList(";
foreach (const QDate &i, l) { for (const QDate &i : l) {
ba += i.toString().toLatin1(); ba += i.toString().toLatin1();
} }
ba += ")"; ba += ")";
......
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