summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qprinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/painting/qprinter.cpp')
-rw-r--r--src/gui/painting/qprinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qprinter.cpp b/src/gui/painting/qprinter.cpp
index 059331f5f9..bdbddf20c4 100644
--- a/src/gui/painting/qprinter.cpp
+++ b/src/gui/painting/qprinter.cpp
@@ -189,7 +189,7 @@ void QPrinterPrivate::createDefaultEngines()
}
break;
case QPrinter::PdfFormat: {
- QPdfEngine *pdfEngine = new QPdfEngine(printerMode);
+ QPdfPrintEngine *pdfEngine = new QPdfPrintEngine(printerMode);
paintEngine = pdfEngine;
printEngine = pdfEngine;
}