qt6-bb10/tests/auto/gui
Giuseppe D'Angelo 0b4ccbf81e QPainterPath: fix handling of fill rules
fillRule() contained a major blunder: instead of checking if the
d-pointer was allocated, and return a default value if it wasn't,
it checked whether the path contained any points. This means that

  QPainterPath p;
  p.setFillRule(x);
  Q_ASSERT(p.fillRule() == x);

was failing.

As a drive-by to test this change, fix another mistake in clear():
clear is documented to clear the elements in a path, but instead
it also changed the fill rule.

This commit partially reverses 697910e5fb.

Change-Id: Ieb8145694b672439c3380d9ccb87d1206a2dd115
Pick-to: 5.12 5.15 6.0 6.1
Done-with: Milian Wolff
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
2021-03-26 10:45:46 +01:00
..
image Fix alpha handling of QImage::setPixel 2021-03-22 14:29:14 +01:00
itemmodels Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
kernel Port away from deprecated QVariant::type 2021-03-17 12:57:39 +01:00
math3d Add more support for structured bindings 2021-02-25 16:08:44 +01:00
painting QPainterPath: fix handling of fill rules 2021-03-26 10:45:46 +01:00
qopengl Skip tst_QOpenGL::glxContext test on Wayland 2021-03-11 11:58:42 +01:00
qopenglconfig Remove the qmake project files 2021-01-07 15:32:28 +01:00
qvulkan tst_qvulkan: Skip assumption about supportedApiVersion 2021-01-21 17:00:32 +01:00
rhi rhi: Make it possible to clone a QRhiRenderPassDescriptor 2021-03-19 10:46:23 +00:00
text Move QEMU emulation detector to QTest 2021-02-13 10:02:51 +02:00
util QTextureFileData: support key value metadata 2021-02-09 13:39:47 +01:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00