From 0d25d31049bc7e1d76c0de0d08920a664c8fc2fe Mon Sep 17 00:00:00 2001 From: Phil Olynyk Date: Sat, 11 Apr 2020 11:26:03 -0400 Subject: [PATCH] Add ifdef around -Adding STR.edf information...- --- oscar/SleepLib/loader_plugins/resmed_loader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/oscar/SleepLib/loader_plugins/resmed_loader.cpp b/oscar/SleepLib/loader_plugins/resmed_loader.cpp index 91c6c5b7..a72e17eb 100644 --- a/oscar/SleepLib/loader_plugins/resmed_loader.cpp +++ b/oscar/SleepLib/loader_plugins/resmed_loader.cpp @@ -299,7 +299,7 @@ int ResmedLoader::Open(const QString & dirpath) return -1; qDebug() << "Info:" << info.series << info.model << info.modelnumber << info.serial; -#ifdef DEBUG_IDENT +#ifdef IDENT_DEBUG qDebug() << "IdMap size:" << idmap.size(); foreach ( QString st , idmap.keys() ) { qDebug() << "Key" << st << "Value" << idmap[st]; @@ -619,7 +619,9 @@ void ResmedLoader::checkSummaryDay( ResMedDay & resday, QDate date, Machine * ma if (sess->machine() != mach) continue; +#ifdef STR_DEBUG qDebug() << "Adding STR.edf information to session" << sess->session(); +#endif StoreSettings(sess, resday.str); sess->setNoSettings(false); sess->SetChanged(true);