summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsnativeinterface.h
diff options
context:
space:
mode:
authorQiang Li <liqianga@uniontech.com>2021-02-24 20:49:07 +0800
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-02-28 19:05:32 +0000
commit269fdef53d98386b714bf6852a1f214e9159faa1 (patch)
tree56e691cfbb7a56af548ba73c08d40f0894e6d297 /src/plugins/platforms/windows/qwindowsnativeinterface.h
parentcd13ec38a7dab48529a80b1773fb5076da0086f1 (diff)
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 e349f787d595aa343ca86af94159b6730d55b8d5, 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>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsnativeinterface.h')
0 files changed, 0 insertions, 0 deletions