Forgot to rename the navigation statistics button. Show most used humid setting rather than max

This commit is contained in:
Mark Watkins 2011-12-27 04:41:48 +10:00
parent 8891514635
commit 3aa0f00a4b
2 changed files with 3 additions and 3 deletions

View File

@ -903,7 +903,7 @@ void Daily::Load(QDate date)
html+=QString("<tr><td>%1</td><td colspan=4>%2</td></tr>").arg(tr("Flex"))
.arg(flexstr);
int humid=cpap->settings_max(PRS1_HumidSetting);
int humid=round(cpap->settings_wavg(PRS1_HumidSetting));
html+=QString("<tr><td>%1</td><td colspan=4>%2</td></tr>").arg(tr("Humidifier"))
.arg(humid==0 ? STR_GEN_Off : "x"+QString::number(humid));
} else if (cpap->machine->GetClass()==STR_MACH_ResMed) {

View File

@ -405,7 +405,7 @@
<number>1</number>
</property>
<property name="currentIndex">
<number>2</number>
<number>0</number>
</property>
<property name="tabSpacing">
<number>0</number>
@ -535,7 +535,7 @@
</font>
</property>
<property name="text">
<string>Summary</string>
<string>Statistics</string>
</property>
<property name="icon">
<iconset resource="Resources.qrc">