aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-10-15 12:54:19 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-15 04:24:15 -0700
commit2b98d28980c9c5a45de2d9c7cb7ac65e1380c084 (patch)
tree859afd9fa4a64355a3fee8c387dce0852e1771d8
parent005f8ecf839b743414e3cb2433aec9de5a3b82e1 (diff)
downloadsubsurface-2b98d28980c9c5a45de2d9c7cb7ac65e1380c084.tar.gz
printdialog: Remove the pre-set DPI and some comments
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/printdialog.cpp4
1 files changed, 0 insertions, 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();