From 2470e55b2960cd72dba36cc63d09311508c85082 Mon Sep 17 00:00:00 2001 From: Guy Scharf Date: Fri, 14 Jan 2022 06:39:00 -0700 Subject: [PATCH] Add report footer to first page of printed Statistics report. All compliance data is on the first page of the report. Include report footer on this page in case user wants to give the doctor just the first page of the report. --- Htmldocs/release_notes.html | 7 +++++++ oscar/statistics.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Htmldocs/release_notes.html b/Htmldocs/release_notes.html index fd29153b..54222aa1 100644 --- a/Htmldocs/release_notes.html +++ b/Htmldocs/release_notes.html @@ -11,6 +11,13 @@ This page in other languages:
http://www.apneaboard.com/wiki/index.php/OSCAR_Release_Notes

+ Changes and fixes in OSCAR v1.3.1-beta-? +
Portions of OSCAR are © 2019-2022 by + The OSCAR Team

+ +

Changes and fixes in OSCAR v1.3.1-beta-2
Portions of OSCAR are © 2019-2022 by The OSCAR Team

diff --git a/oscar/statistics.cpp b/oscar/statistics.cpp index 0b904e6b..fd680bb1 100644 --- a/oscar/statistics.cpp +++ b/oscar/statistics.cpp @@ -1360,7 +1360,7 @@ void Statistics::printReport(QWidget * parent) { qDebug() << "Enlarged printer font" << font << "printer default font set" << doc.defaultFont(); - doc.setHtml(htmlReportHeaderPrint + htmlUsage + htmlMachineSettings + htmlMachines + htmlReportFooter); + doc.setHtml(htmlReportHeaderPrint + htmlUsage + htmlReportFooter + htmlMachineSettings + htmlMachines + htmlReportFooter); // Dump HTML for use with HTML4 validator // QString html = htmlReportHeaderPrint + htmlUsage + htmlMachineSettings + htmlMachines + htmlReportFooter;