summaryrefslogtreecommitdiff
path: root/graphics/fractgen/files/patch-git-48cf904f47d9eb3819e6e5f6c19feaae0a3bf901.diff
blob: 383eafc237232374607d541e8f2bc697985028d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git src/fractalgenerator.cc src/fractalgenerator.cc
index dc8fb31..8f5d399 100644
--- src/fractalgenerator.cc
+++ src/fractalgenerator.cc
@@ -128,7 +128,7 @@ FractalGeneratorApp::FractalGeneratorApp(QWidget* parent, const QString& fileNam
    helpMenu->addAction(tr("&About"), this, SLOT(slotHelpAbout()));
 
    Printer.setColorMode(QPrinter::Color);
-   Printer.setOrientation(QPrinter::Landscape);
+   Printer.setPageOrientation(QPageLayout::Landscape);
    Printer.setOutputFileName(tr("Fractal.pdf"));
 
    statusBar()->showMessage(tr("Welcome to FractGen!"), 3000);