Change #ifdef Q_WS_X11 to Q_OS_LINUX.

This commit is contained in:
Seeker4 2019-06-12 18:37:06 -07:00
parent 575b9a5372
commit 6dfb8fda6e

View File

@ -1199,7 +1199,7 @@ QString Statistics::GenerateHTML()
void Statistics::printReport(QWidget * parent) { void Statistics::printReport(QWidget * parent) {
QPrinter printer(QPrinter::HighResolution); QPrinter printer(QPrinter::HighResolution);
#ifdef Q_WS_X11 #ifdef Q_OS_LINUX
printer.setPrinterName("Print to File (PDF)"); printer.setPrinterName("Print to File (PDF)");
printer.setOutputFormat(QPrinter::PdfFormat); printer.setOutputFormat(QPrinter::PdfFormat);
QString name; QString name;