Revert a change to printer orientation
authorTitta Heikkala <titta.heikkala@digia.com>
Thu, 6 Sep 2012 09:58:18 +0000 (12:58 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 15 Oct 2012 20:01:47 +0000 (22:01 +0200)
commitbdcece7d46e1c9ca9717dfc10e699f8dfbd2286e
treebc1ec411aee1ee4c37da1585e483b6b0d488faab
parent2097b9193fb358602f7a99cd8bad7af52c93003d
Revert a change to printer orientation

Reverting change: Ia6bc9ae14d79a646e61bfc97652f9f5af90738b3
The previous change does not set the printer correctly. It looks
based on the tests that the correct printer is set, but in reality
the default printer is used (even though printerName() is returning
the printer set).

Updated taskQTBUG4497_reusePrinterOnDifferentFiles() test case
so that it generates PDF instead of PS. Testing the binary output
can't be guaranteed to work in this case.

Change-Id: Iee111f2c2dec84f86344a38816c21e191f5373ea
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
src/printsupport/kernel/qprintengine_win.cpp
tests/auto/printsupport/kernel/qprinter/tst_qprinter.cpp