From 65f3f5368653519203954be934529b54d6f9833b Mon Sep 17 00:00:00 2001 From: sawinglogz <3787776-sawinglogz@users.noreply.gitlab.com> Date: Sun, 18 Aug 2019 17:30:52 -0400 Subject: [PATCH] Add model number to printed daily report. --- oscar/reports.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/oscar/reports.cpp b/oscar/reports.cpp index 5d7b4d9e..1b9cd597 100644 --- a/oscar/reports.cpp +++ b/oscar/reports.cpp @@ -193,7 +193,12 @@ void Report::PrintReport(gGraphView *gv, QString name, QDate date) cpapinfo += STR_TR_Machine + ": "; - cpapinfo += cpap->brand() + " " + cpap->model() + "\n"; + cpapinfo += cpap->brand() + " " + cpap->model(); + QString mn = cpap->modelnumber(); + if (!mn.isEmpty()) { + cpapinfo += " (" + mn + ")"; + } + cpapinfo += "\n"; cpapinfo += STR_TR_Mode + ": " + day->getCPAPMode() + "\n"; cpapinfo += day->getPressureSettings() + "\n";