diff options
Diffstat (limited to 'src/printsupport/dialogs')
-rw-r--r-- | src/printsupport/dialogs/qprintdialog_unix.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/printsupport/dialogs/qprintdialog_unix.cpp b/src/printsupport/dialogs/qprintdialog_unix.cpp index 6cccdd03cd..8c9997d572 100644 --- a/src/printsupport/dialogs/qprintdialog_unix.cpp +++ b/src/printsupport/dialogs/qprintdialog_unix.cpp @@ -251,8 +251,7 @@ QPrintPropertiesDialog::QPrintPropertiesDialog(QPrinter *printer, QAbstractPrint widget.pageSetup->setPrinter(printer); #if QT_CONFIG(cupsjobwidget) - m_jobOptions = new QCupsJobWidget(); - m_jobOptions->setPrinter(printer); + m_jobOptions = new QCupsJobWidget(printer); widget.tabs->addTab(m_jobOptions, tr("Job Options")); #endif } |