forked from pool/libqt5-qtbase
42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
|
From 2ecfdf87b8362309f555e441f16e6c5b56f17e63 Mon Sep 17 00:00:00 2001
|
||
|
From: Albert Astals Cid <albert.astals.cid@kdab.com>
|
||
|
Date: Mon, 4 Dec 2017 12:42:54 +0100
|
||
|
Subject: [PATCH 02/54] Remove QPrintDialogPrivate::applyPrinterProperties, no
|
||
|
one calls it
|
||
|
|
||
|
Change-Id: Ic140f62e5cb63c6a4b7f4fa10ca243d8bb055c4e
|
||
|
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
|
||
|
---
|
||
|
src/printsupport/dialogs/qprintdialog_unix.cpp | 8 --------
|
||
|
1 file changed, 8 deletions(-)
|
||
|
|
||
|
diff --git a/src/printsupport/dialogs/qprintdialog_unix.cpp b/src/printsupport/dialogs/qprintdialog_unix.cpp
|
||
|
index 183af7daa3..37a562125e 100644
|
||
|
--- a/src/printsupport/dialogs/qprintdialog_unix.cpp
|
||
|
+++ b/src/printsupport/dialogs/qprintdialog_unix.cpp
|
||
|
@@ -203,8 +203,6 @@ public:
|
||
|
~QPrintDialogPrivate();
|
||
|
|
||
|
void init();
|
||
|
- /// copy printer properties to the widget
|
||
|
- void applyPrinterProperties();
|
||
|
|
||
|
void selectPrinter(const QPrinter::OutputFormat outputFormat);
|
||
|
|
||
|
@@ -390,12 +388,6 @@ void QPrintDialogPrivate::selectPrinter(const QPrinter::OutputFormat outputForma
|
||
|
options.pageSetCombo->setEnabled(true);
|
||
|
}
|
||
|
|
||
|
-void QPrintDialogPrivate::applyPrinterProperties()
|
||
|
-{
|
||
|
- // apply printer options to property dialog
|
||
|
- top->d->applyPrinterProperties();
|
||
|
-}
|
||
|
-
|
||
|
void QPrintDialogPrivate::setupPrinter()
|
||
|
{
|
||
|
// First setup the requested OutputFormat, Printer and Page Size first
|
||
|
--
|
||
|
2.15.1
|
||
|
|