Respect the custom paper size settings on Mac
authorAndy Shaw <andy.shaw@digia.com>
Tue, 3 Dec 2013 22:11:35 +0000 (23:11 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 4 Dec 2013 20:47:13 +0000 (21:47 +0100)
commit0f6438baf5188c69c7c64cca524e2e229b786dab
tree44414d597ff5325520102baa40ef9be12a5eba07
parent1cd14aeaed5aad718b910da2a3eb64477105af3f
Respect the custom paper size settings on Mac

When the user added a custom paper size then it would be silently
ignored when printing on Mac. This now ensures that it is respected when
appropriate.

Manual cherry-pick from Qt 5: 26a0a3ed85008c3a0edae125fca48c7c36a7437f

[ChangeLog][Platform Specific Changes][OS X][QtPrintSupport] Respect
the custom paper size settings when printing.

Task-number: QTBUG-34700
Change-Id: If2ff9b704a636c94510f826d300e53af99c8e7ab
Reviewed-by: John Layt <jlayt@kde.org>
src/gui/painting/qprintengine_mac.mm
src/gui/painting/qprintengine_mac_p.h