Fix Overview Display of Resmed Oximeter Events

This commit is contained in:
LoudSnorer 2022-07-01 09:15:18 -04:00
parent e35d47b3fd
commit 8d2654796d

View File

@ -350,6 +350,7 @@ void gSummaryChart::populate(Day * day, int idx)
auto & slices = cache[idx];
float hours = day->hours(m_machtype);
if ((hours==0) && (m_machtype != MT_CPAP)) hours = day->hours();
float base = 0;
for (auto & item : calcitems) {
@ -1323,3 +1324,4 @@ QString gAHIChart::tooltipData(Day *day, int idx)
}
return QString("\n%1: %2").arg(STR_TR_AHI).arg(float(total) / hour,0,'f',2)+txt;
}