Commit a6f803cd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Prefer appending vector to a vector with += rather than a custom implementation

QVector has ad-hoc code to do so.
parent 76fbb437
......@@ -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;
......
Markdown is supported
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