mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:33:24 +00:00
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:
parent
005f8ecf83
commit
2b98d28980
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue