diff options
author | Teemu Katajisto <teemu.katajisto@digia.com> | 2012-08-22 12:09:21 +0300 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-22 22:56:05 +0100 |
commit | be6e270d12a8267194bab669c111be9c1ec9615c (patch) | |
tree | aea47a16533f4e9a85a7a6f83ff0ed845fcd7c2e /src/printsupport/dialogs/qpagesetupdialog_unix_p.h | |
parent | 69de6177615de3c4c31dea529172389e92f490b0 (diff) |
QtPrintSupport: use CUPS defaults for UNIX print dialog
Update printer defaults in UNIX print dialog when printer
is changed.
Task-number: QTBUG-23037
Task-number: QTBUG-6239
Task-number: QTBUG-15351
Task-number: QTBUG-19233
Task-number: QTBUG-22036
Change-Id: Ib03635035211bd69b5b23da20ffd2c03ac318a1a
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/printsupport/dialogs/qpagesetupdialog_unix_p.h')
-rw-r--r-- | src/printsupport/dialogs/qpagesetupdialog_unix_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h index cea6b6b4dd..3a2d05bbc5 100644 --- a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h +++ b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h @@ -73,7 +73,7 @@ public: void setPrinter(QPrinter *printer); /// copy information from the widget and apply that to the printer. void setupPrinter() const; - void selectPrinter(QCUPSSupport *m_cups); + void selectPrinter(); void selectPdfPsPrinter(const QPrinter *p); private slots: @@ -96,7 +96,7 @@ private: QSizeF m_paperSize; qreal m_currentMultiplier; bool m_blockSignals; - QCUPSSupport *m_cups; + bool m_cups; }; QT_END_NAMESPACE |