mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Change #ifdef Q_WS_X11 to Q_OS_LINUX.
This commit is contained in:
parent
575b9a5372
commit
6dfb8fda6e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user