From 828a8705aba3a5eafd388b6406a7bbe57dccde3b Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Fri, 28 Jun 2019 19:51:14 -0700 Subject: [PATCH] Improve qWarning to have more data when discarding a session with first=0 --- oscar/SleepLib/day.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar/SleepLib/day.cpp b/oscar/SleepLib/day.cpp index 5e23b09f..7f290d85 100644 --- a/oscar/SleepLib/day.cpp +++ b/oscar/SleepLib/day.cpp @@ -118,7 +118,7 @@ void Day::addSession(Session *s) } if (s->first() == 0) - qWarning() << "Discarding session" << s->session() + qWarning() << "Day::addSession discarding session" << s->session() << "["+QDateTime::fromTime_t(s->session()).toString("MMM dd, yyyy hh:mm:ss")+"]" << "from machine" << s->machine()->serial() << "with first=0"; else