Skip to content
Commit 8b9623bd authored by Marco Martin's avatar Marco Martin
Browse files

Don't crash on empty sizes

Apparently on Qt6 updatePaintNode is called also on items with 0x0 size.
The node implementation actually assumes a valid rectangle.
If our boundingRect() is empty, then discard the node and retuen
nullptr.
parent e2c1d1b7
Pipeline #316584 passed with stage
in 6 minutes and 25 seconds
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