From 6dfb8fda6e26cb1a647316b5ec999bc4ffc4f372 Mon Sep 17 00:00:00 2001 From: Seeker4 Date: Wed, 12 Jun 2019 18:37:06 -0700 Subject: [PATCH] Change #ifdef Q_WS_X11 to Q_OS_LINUX. --- oscar/statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oscar/statistics.cpp b/oscar/statistics.cpp index 545ea61f..a0601bdb 100644 --- a/oscar/statistics.cpp +++ b/oscar/statistics.cpp @@ -1199,7 +1199,7 @@ QString Statistics::GenerateHTML() void Statistics::printReport(QWidget * parent) { QPrinter printer(QPrinter::HighResolution); -#ifdef Q_WS_X11 +#ifdef Q_OS_LINUX printer.setPrinterName("Print to File (PDF)"); printer.setOutputFormat(QPrinter::PdfFormat); QString name;