diff options
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r-- | qt-ui/printdialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index 542590707..f4bf16d05 100644 --- a/qt-ui/printdialog.cpp +++ b/qt-ui/printdialog.cpp @@ -47,6 +47,7 @@ void PrintDialog::printClicked(void) // printer.setOutputFileName("print.pdf"); // printer.setOutputFormat(QPrinter::PdfFormat); // temporary: use a preview dialog + printer.setResolution(300); QPrintPreviewDialog previewDialog(&printer, this); QObject::connect(&previewDialog, SIGNAL(paintRequested(QPrinter *)), this, SLOT(onPaintRequested(QPrinter *))); previewDialog.exec(); |