diff --git a/sleepyhead/Graphs/MinutesAtPressure.cpp b/sleepyhead/Graphs/MinutesAtPressure.cpp index 3fea7a95..40bb1dd6 100644 --- a/sleepyhead/Graphs/MinutesAtPressure.cpp +++ b/sleepyhead/Graphs/MinutesAtPressure.cpp @@ -290,7 +290,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r for (int k=0; k >::iterator OB = events.find(CPAP_Obstructive); @@ -882,7 +882,7 @@ void PressureInfo::finishCalcs() val += CA.value()[i]; events[CPAP_AHI][i] = val; - } + } */ for (int i = 0; i < size; i++) { @@ -912,7 +912,16 @@ void RecalcMAP::run() QHash > events; // Get the channels for specified Channel types - QList chans = day->getSortedMachineChannels(schema::SPAN | schema::FLAG | schema::MINOR_FLAG); + QList chans = day->getSortedMachineChannels(schema::FLAG); + + chans.removeAll(CPAP_VSnore); + chans.removeAll(CPAP_VSnore2); + chans.removeAll(CPAP_FlowLimit); + chans.removeAll(CPAP_RERA); +// for (int i=0;ichannelExists(CPAP_IPAP)) ? CPAP_IPAP : CPAP_Pressure; ChannelID epapcode = (day->channelExists(CPAP_EPAP)) ? CPAP_EPAP : 0;