qt5base-lts/tests/auto
Eirik Aavitsland 697910e5fb Fix assert in QPainterPath after clear()
The newly introduced clear() method left the path in an undefined
state: d_ptr allocated, but no elements. The elements vector is
otherwise never empty, since ensureData() inserts a dummy initial
moveTo element.

Fix by making sure that clear() leaves the path in the same state as
ensureData() (i.e. "empty" but not "null"), except possibly more
capacity allocated in the elements vector.

Fixes: QTBUG-76534
Change-Id: I7ad8b312913f5eb6e22023f5d2fd873e54b1e23c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2019-07-31 12:05:54 +02:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib BLACKLIST insert_remove_loop for msvc-2019 2019-07-30 14:11:02 +03:00
dbus Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gui Fix assert in QPainterPath after clear() 2019-07-31 12:05:54 +02:00
guiapplauncher
installed_cmake
network Merge "Merge remote-tracking branch 'origin/5.12' into 5.13" 2019-07-29 15:33:37 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-20 07:50:44 +02:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-21 01:00:08 +01:00
testlib Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
tools Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-12 01:00:08 +02:00
widgets Fix crash when the focus widget gets a focus proxy after the fact 2019-07-29 17:15:02 +02:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Extend the default retry times of QtNetworkSettings::verifyConnection 2019-01-23 15:28:33 +00:00
testserver.pri Disable Docker-based test servers on macOS temporarily 2019-02-06 22:04:54 +00:00