summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-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();