printsupport: set duplex setting correctly to CUPS printer
authorTeemu Katajisto <teemu.katajisto@digia.com>
Thu, 10 May 2012 08:54:28 +0000 (11:54 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 28 Mar 2014 07:56:34 +0000 (08:56 +0100)
commit1fa7deed0a6441b20493c49bb3d5b53e55a9bcae
tree7a04ee3a7e1305c05d4fc46c6f729b31c3c1164b
parentba059bc9f908c0794b8749948539a0a8a747f907
printsupport: set duplex setting correctly to CUPS printer

If CUPS printer default is not DuplexNone then setting duplex
to None for printer did not have any effect on duplex setting.

(backported from qtbase/385e584926f2957d6e9ec4c2c4e89b37a5e0c80c)

Change-Id: Ia72f599a9e5fa511b3214c6b8016e21f40409b86
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
src/gui/painting/qpdf.cpp