diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-10-06 07:55:12 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-07 02:29:07 (GMT) |
commit | 45fd04ac1b0223b295e2e98b9a0959e6aa9a7f69 (patch) | |
tree | de8671fbbbc00d942baf1173ff3065b9f503a7aa /doc/src/snippets/code/src_gui_util_qundostack.cpp | |
parent | 54c5c60c8f5937690fa006f6fbee434259f25061 (diff) | |
download | Qt-45fd04ac1b0223b295e2e98b9a0959e6aa9a7f69.zip Qt-45fd04ac1b0223b295e2e98b9a0959e6aa9a7f69.tar.gz Qt-45fd04ac1b0223b295e2e98b9a0959e6aa9a7f69.tar.bz2 |
Don't output redundant setPen command when reusing PS printer
If you reused a printer to paint to several different files, the
results would sometimes be different, as the subsequent runs would have
redundant setPen commands in its output. This was because the simplePen
flag was not reset to its initial value when reusing the print engine.
Task-number: QTBUG-4479
Reviewed-by: Trond
(cherry picked from commit 39dc3026d1da03d5fcf8e5c516fadd7e4ea8a861)
Diffstat (limited to 'doc/src/snippets/code/src_gui_util_qundostack.cpp')
0 files changed, 0 insertions, 0 deletions