From 1ffd79bfb7261268ea4b56d29122a48334a115a1 Mon Sep 17 00:00:00 2001 From: John Layt Date: Tue, 28 Jan 2014 15:05:17 +0100 Subject: QPrinter - Fix winPageSize() on Mac and Linux Using QPageSize internally provides the Windows ID on all platforms so remove the conditional compile on the QPrinter api and add support to the print engines. Change-Id: I31e23d5090a9b6ceb087c29dead050b0ee1855a5 Reviewed-by: Lars Knoll --- src/printsupport/kernel/qprinter.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/printsupport/kernel/qprinter.h') diff --git a/src/printsupport/kernel/qprinter.h b/src/printsupport/kernel/qprinter.h index 709d77d4e3..1f0639d81f 100644 --- a/src/printsupport/kernel/qprinter.h +++ b/src/printsupport/kernel/qprinter.h @@ -372,10 +372,8 @@ public: void setDoubleSidedPrinting(bool enable); bool doubleSidedPrinting() const; -#ifdef Q_OS_WIN void setWinPageSize(int winPageSize); int winPageSize() const; -#endif QRect paperRect() const; QRect pageRect() const; -- cgit v1.2.3