From 85efcace3e40d68b7662f01a805e6e2374a94372 Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Fri, 28 Jun 2019 19:53:46 -0700 Subject: [PATCH] Add a qDebug() statement if start date for an EDF file is zero. --- oscar/SleepLib/loader_plugins/edfparser.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oscar/SleepLib/loader_plugins/edfparser.cpp b/oscar/SleepLib/loader_plugins/edfparser.cpp index 2e9df0cb..7a826eec 100644 --- a/oscar/SleepLib/loader_plugins/edfparser.cpp +++ b/oscar/SleepLib/loader_plugins/edfparser.cpp @@ -106,6 +106,8 @@ bool EDFParser::Parse() startdate = qint64(startdate_orig.toTime_t()) * 1000L; //startdate-=timezoneOffset(); + if (startdate == 0) + qDebug() << "EDFParser::Parse startdate = 0"; //qDebug() << startDate.toString("yyyy-MM-dd HH:mm:ss");