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>
This commit is contained in:
Lubomir I. Ivanov 2013-10-15 12:54:19 +03:00 committed by Dirk Hohndel
parent 005f8ecf83
commit 2b98d28980

View file

@ -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();