summaryrefslogtreecommitdiffstats
path: root/qt-ui/printdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/printdialog.cpp')
-rw-r--r--qt-ui/printdialog.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/qt-ui/printdialog.cpp b/qt-ui/printdialog.cpp
index 9774a79f6..5652101ff 100644
--- a/qt-ui/printdialog.cpp
+++ b/qt-ui/printdialog.cpp
@@ -43,6 +43,9 @@ void PrintDialog::runDialog()
void PrintDialog::printClicked(void)
{
- // nop for now
+ // temporary
+ printer.setOutputFileName("print.pdf");
+ printer.setOutputFormat(QPrinter::PdfFormat);
+ // ---------
printLayout->print();
}