From 6f3ea4d39a09d1e2c1a443dbdfbd0e4fc8433fac Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sun, 25 Dec 2011 19:25:27 +1000 Subject: [PATCH] Resource build error fix, also fix humidifier setting display --- Resources.qrc | 1 - daily.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Resources.qrc b/Resources.qrc index cd2cbdfc..620f8be7 100644 --- a/Resources.qrc +++ b/Resources.qrc @@ -34,6 +34,5 @@ icons/sheep.png icons/nodata.png icons/cubeoximeter.png - icons/smileyface2.png diff --git a/daily.cpp b/daily.cpp index 9e7b9525..4ac9f024 100644 --- a/daily.cpp +++ b/daily.cpp @@ -896,7 +896,7 @@ void Daily::Load(QDate date) html+=QString("%1%2").arg(tr("Flex")) .arg(flexstr); html+=QString("%1%2").arg(tr("Humidifier")) - .arg(cpap->settings_max(PRS1_HumidSetting) ? STR_GEN_Off : "x"+QString::number(i)); + .arg(cpap->settings_max(PRS1_HumidSetting)==0 ? STR_GEN_Off : "x"+QString::number(i)); } else if (cpap->machine->GetClass()==STR_MACH_ResMed) { int epr=cpap->settings_max(RMS9_EPR); int epr2=cpap->settings_max(RMS9_EPRSet);