From 4a8a44a8b1810399753793e8515e70e937db7e53 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 6 Apr 2020 17:08:13 +1000 Subject: [PATCH] timerange: added debug output functions for the TimeRange and TimeRangeList classes --- app/common/timerange.cpp | 15 +++++++++++++++ app/common/timerange.h | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/app/common/timerange.cpp b/app/common/timerange.cpp index b5d238c33..67ac3f391 100644 --- a/app/common/timerange.cpp +++ b/app/common/timerange.cpp @@ -195,9 +195,24 @@ TimeRangeList TimeRangeList::Intersects(const TimeRange &range) return intersect_list; } +void TimeRangeList::PrintTimeList() +{ + qDebug() << "TimeRangeList now contains:"; + + for (int i=0;i