1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/x11/oscar/files/patch-statistics.cpp
Stephane D'Alu c735afd1b3 x11/oscar: OpenSource CPAP Analysis Reporter
OpenSource CPAP Analysis Reporter

OSCAR is a derivative of SleepyHead version 1.1.0, created when that
was abandoned by Mark Watkins.

SleepyHead was a cross platform, opensource sleep tracking program for
reviewing CPAP and Oximetry data, which are devices used in the
treatment of Sleep Disorders like Obstructive Sleep Apnea.

PR:		271297
2023-07-31 01:59:05 +03:00

12 lines
420 B
C++

--- statistics.cpp
+++ statistics.cpp
@@ -1315,7 +1315,7 @@ void Statistics::printReport(QWidget * parent) {
QPrinter printer(QPrinter::ScreenResolution); // ScreenResolution required for graphics sizing
-#ifdef Q_OS_LINUX
+#if defined (Q_OS_LINUX) || defined(Q_OS_FREEBSD)
printer.setPrinterName("Print to File (PDF)");
printer.setOutputFormat(QPrinter::PdfFormat);
QString name = "Statistics";