From 2b98d28980c9c5a45de2d9c7cb7ac65e1380c084 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 15 Oct 2013 12:54:19 +0300 Subject: printdialog: Remove the pre-set DPI and some comments Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- qt-ui/printdialog.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp index f4bf16d05..cf2086417 100644 --- a/qt-ui/printdialog.cpp +++ b/qt-ui/printdialog.cpp @@ -44,10 +44,6 @@ void PrintDialog::runDialog() 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(); -- cgit v1.2.3-70-g09d2