qt5base-lts/src
Qiang Li 269fdef53d Fix z-value of QGraphicsItems being ignored during draw
In QGraphicsScene's function draw, don't copy the children into a
const copy (to prevent detaching in the loops), as they might get
sorted. Instead, use a const reference.

Amends e349f787d5, which introduced
the bug by making a copy of the unsorted list.

Fixes: QTBUG-81316
Pick-to: 6.0 6.1
Change-Id: Iab9b87e75178a883806088a9db234c7a2aaa9301
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-02-28 19:05:32 +00:00
..
3rdparty Fix attribution for tinycbor 2021-02-15 08:11:33 +01:00
android [Android]: Fix exception when using Qt to create a service on Android 2021-02-19 09:46:12 +01:00
concurrent Revert "Remove the qmake project files" for snippets 2021-02-12 09:43:50 +01:00
corelib QMetaType: Store QMetaObject for pointer to const QObject, too 2021-02-26 09:10:31 +01:00
dbus Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
entrypoint Generate Qt6EntryPointAdditionalTargetInfo independent of platform 2021-01-20 14:03:45 +00:00
gui QBrush: get rid of an unused private function 2021-02-28 18:54:16 +01:00
network Assert that we have a socketEngine before calling it 2021-02-25 16:08:44 +01:00
opengl Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
openglwidgets Document QOpenGLWidget limitations without an alpha channel 2021-01-15 15:21:28 +01:00
platformsupport evdevtouch: Fix wrong addTouchPoint for "mtdev" 2021-02-23 14:22:20 +00:00
plugins Disable NetworkManager plugin for -no-dbus 2021-02-24 11:59:02 +00:00
printsupport Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
sql Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
testlib Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
tools Move build tools to libexec instead of the bin dir 2021-02-23 17:02:30 +01:00
widgets Fix z-value of QGraphicsItems being ignored during draw 2021-02-28 19:05:32 +00:00
xml Doc: Fix warnings about wrong snippet path or missing .pro file 2021-02-19 14:04:21 +01:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00