mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-08 04:00:44 +00:00
Forgot to rename the navigation statistics button. Show most used humid setting rather than max
This commit is contained in:
parent
8891514635
commit
3aa0f00a4b
@ -903,7 +903,7 @@ void Daily::Load(QDate date)
|
|||||||
|
|
||||||
html+=QString("<tr><td>%1</td><td colspan=4>%2</td></tr>").arg(tr("Flex"))
|
html+=QString("<tr><td>%1</td><td colspan=4>%2</td></tr>").arg(tr("Flex"))
|
||||||
.arg(flexstr);
|
.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"))
|
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));
|
.arg(humid==0 ? STR_GEN_Off : "x"+QString::number(humid));
|
||||||
} else if (cpap->machine->GetClass()==STR_MACH_ResMed) {
|
} else if (cpap->machine->GetClass()==STR_MACH_ResMed) {
|
||||||
|
@ -405,7 +405,7 @@
|
|||||||
<number>1</number>
|
<number>1</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex">
|
<property name="currentIndex">
|
||||||
<number>2</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<property name="tabSpacing">
|
<property name="tabSpacing">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
@ -535,7 +535,7 @@
|
|||||||
</font>
|
</font>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Summary</string>
|
<string>Statistics</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
<iconset resource="Resources.qrc">
|
<iconset resource="Resources.qrc">
|
||||||
|
Loading…
Reference in New Issue
Block a user