From 3aa0f00a4ba94eb6eab1700cd69b94a4a2923f49 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Tue, 27 Dec 2011 04:41:48 +1000 Subject: [PATCH] Forgot to rename the navigation statistics button. Show most used humid setting rather than max --- daily.cpp | 2 +- mainwindow.ui | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/daily.cpp b/daily.cpp index bf45bb06..3c5d914d 100644 --- a/daily.cpp +++ b/daily.cpp @@ -903,7 +903,7 @@ void Daily::Load(QDate date) html+=QString("%1%2").arg(tr("Flex")) .arg(flexstr); - int humid=cpap->settings_max(PRS1_HumidSetting); + int humid=round(cpap->settings_wavg(PRS1_HumidSetting)); html+=QString("%1%2").arg(tr("Humidifier")) .arg(humid==0 ? STR_GEN_Off : "x"+QString::number(humid)); } else if (cpap->machine->GetClass()==STR_MACH_ResMed) { diff --git a/mainwindow.ui b/mainwindow.ui index ff1e4657..1f39efb0 100644 --- a/mainwindow.ui +++ b/mainwindow.ui @@ -405,7 +405,7 @@ 1 - 2 + 0 0 @@ -535,7 +535,7 @@ - Summary + Statistics