From 2b8000b8f52d667763474f0e69d10b3871145d41 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 28 Aug 2016 17:54:12 +0200 Subject: slightly change debug output --- calendarsource.cpp | 8 ++++---- 1 file 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 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 events; QVector incidences = d->calendar->rawExpandedEvents(start, end, startInclusive, endInclusive); -- cgit v1.2.3