diff options
author | Javier <dev.git@javispedro.com> | 2016-08-28 17:54:12 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-08-28 17:54:12 +0200 |
commit | 2b8000b8f52d667763474f0e69d10b3871145d41 (patch) | |
tree | bc3a2d5f1c299bc924bb2f02bbdc5978f962d4d3 | |
parent | fa539e0228bb618516372d330b9e57f8f482d422 (diff) | |
download | libwatchfish-2b8000b8f52d667763474f0e69d10b3871145d41.tar.gz libwatchfish-2b8000b8f52d667763474f0e69d10b3871145d41.zip |
slightly change debug output
-rw-r--r-- | calendarsource.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendarsource.cpp b/calendarsource.cpp index 8c3ad34..8a395db 100644 --- a/calendarsource.cpp +++ b/calendarsource.cpp @@ -94,11 +94,11 @@ QList<CalendarEvent> CalendarSource::fetchEvents(const QDate &start, const QDate bool startInclusive, bool endInclusive) { Q_D(CalendarSource); - int count = 0; - count += d->calendarStorage->loadRecurringIncidences(); + int count; + count = d->calendarStorage->loadRecurringIncidences(); qCDebug(calendarSourceCat) << "Loaded" << count << "recurring events"; - count += d->calendarStorage->load(start, end); - qCDebug(calendarSourceCat) << "Loaded" << count << "events total"; + count = d->calendarStorage->load(start, end); + qCDebug(calendarSourceCat) << "Loaded" << count << "normal events"; QList<CalendarEvent> events; QVector<mKCal::ExtendedCalendar::ExpandedIncidence> incidences = d->calendar->rawExpandedEvents(start, end, startInclusive, endInclusive); |