diff --git a/scene.cpp b/scene.cpp index 80c687a2df..3b25503e34 100644 --- a/scene.cpp +++ b/scene.cpp @@ -1062,9 +1062,7 @@ WindowQuadList Scene::Window::makeContentsQuads() const // Push the child window pixmaps onto the stack, remember we're visiting the pixmaps // in the depth-first search manner. - const auto children = windowPixmap->children(); - for (WindowPixmap *child : children) - stack.push(child); + stack += windowPixmap->children(); } return quads;