Commit 512464af authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Fix invalid iterator in SurfaceInterfacePrivate::raiseChild()

The append method will invalidate the iterator, so we cannot call the
erase() method with the old iterator.
parent 197886f5
Pipeline #61734 passed with stage
in 5 minutes and 15 seconds
......@@ -110,8 +110,8 @@ bool SurfaceInterfacePrivate::raiseChild(SubSurfaceInterface *subsurface, Surfac
if (sibling == q) {
// it's to the parent, so needs to become last item
pending.childrenChanged = true;
return true;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment