diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-01-31 13:11:34 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-06 17:27:37 +0100 |
commit | c8172953ed6d3776178b9a37c0773d648cfdd9f2 (patch) | |
tree | 3fc96f55bca320ac467bb94362d1acbd5f94e029 /src/corelib/io | |
parent | 845716d629cbb66d646cd61e8d3dc3acfe503889 (diff) |
Fix printing with a custom paper specified.
If DMPAPER_USER is set from the print dialog then it is expected that
the specific member variables to get the custom width and length are
used. The size returned by querying the DC_PAPERSIZE is some random
default and is not the one actually requested by the user.
Also ensure that when it is a custom paper size from the driver
itself that we store the right paper size.
Change-Id: I760b8429ca1b01f5e303f2111b8d7ca1795c8ab8
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions