Go to file
Teemu Katajisto 5d1d313ca7 QtPrintSupport: set QPrinter margins also to QPagedPaintDevice
QPagedPaintDevice::setMargins() is virtual method and reimplemented in
QPrinter but super class margins were not set in reimplemented method.

This fixes problem where QTextDocument::print() checked the margins
using QPagedPaintDevice::margins() and overrided the margins set
in QPrinter::setMargins().

Change-Id: I3bdcc33b8f6b5a9cbcb04a21484fdd1612dd7d58
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
2012-09-11 12:09:47 +02:00
bin de-duplicate code 2012-08-28 20:47:11 +02:00
config.tests in non-verbose mode, suppress qmake output as well 2012-09-10 00:27:21 +02:00
dist Mention logging related changes in changes-5.0.0 file 2012-09-08 01:43:57 +02:00
doc Doc: Centralize more common settings in 1 global qdocconf. 2012-09-11 09:35:28 +02:00
examples Fix example includes for qdoc. 2012-09-11 12:09:47 +02:00
lib Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mkspecs Removed some unused #defines from iOS qplatformdefs.h 2012-09-11 12:09:47 +02:00
qmake give location information for QMAKE_SUBSTITUTES conditionals 2012-09-11 07:04:20 +02:00
src QtPrintSupport: set QPrinter margins also to QPagedPaintDevice 2012-09-11 12:09:47 +02:00
tests Remove deprecated inputItem and inputWindow from QInputMethod 2012-09-11 09:35:28 +02:00
tools clean up syncqt invocation 2012-09-11 09:35:28 +02:00
util Make plugintest util work on Windows. 2012-08-30 13:51:22 +02:00
.gitattributes Update the git-archive export options 2012-09-07 15:39:31 +02:00
.gitignore Updated .gitignore 2012-08-18 13:59:11 +02:00
.tag Update the git-archive export options 2012-09-07 15:39:31 +02:00
configure call syncqt unconditionally in configure 2012-09-11 09:35:28 +02:00
configure.bat bypass configure bootstrap for non-git builds 2012-09-05 03:03:14 +02:00
header.BSD Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.FDL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
header.LGPL-ONLY Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
INSTALL Remove Symbian specific code from qtbase. 2012-01-31 07:08:31 +01:00
LGPL_EXCEPTION.txt Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.FDL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
LICENSE.GPL Add the LICENSE.GPL file to the module referenced from license headers 2012-05-20 22:41:08 +02:00
LICENSE.LGPL Update contact information in license headers. 2012-01-23 04:04:33 +01:00
LICENSE.PREVIEW.COMMERCIAL Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
qtbase.pro Install right version of tools when x-compiling. 2012-07-17 12:52:48 +02:00
sync.profile Revert "Move QWindowSystemInterface out of qpa." 2012-08-03 00:38:09 +02:00