qt6-bb10/tests/auto/printsupport/kernel
Andreas Buhr f8474306e5 QPrinter: fix unit tests for special case when no printer is default
The unit tests of QPrinter assume that a printer which is default-
initialized is the same printer as the default printer. However, when
no printer is set to default, this is not the case. When no printer
is the default printer, a default-initialized QPrinter will be the
first printer found.
This patch adapts the unit tests to work also when no printer is the
default printer, even though printers are available.

Change-Id: I4967e5b1c4fb8a7c33c911184289ec5cd283fc58
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-09-29 09:59:02 +02:00
..
qprintdevice CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qprinter QPrinter: fix unit tests for special case when no printer is default 2020-09-29 09:59:02 +02:00
qprinterinfo CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt CMake: Build PrintSupport module and tests 2018-12-14 14:05:14 +00:00
kernel.pro QPlatformPrintDevice - New QPA base class 2014-03-17 13:45:31 +01:00