mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +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) {
|
||||
|
||||
QPrinter printer(QPrinter::HighResolution);
|
||||
#ifdef Q_WS_X11
|
||||
#ifdef Q_OS_LINUX
|
||||
printer.setPrinterName("Print to File (PDF)");
|
||||
printer.setOutputFormat(QPrinter::PdfFormat);
|
||||
QString name;
|
||||
|
Loading…
Reference in New Issue
Block a user