Skip to content

Don't crash on empty sizes

Marco Martin requested to merge work/mart/nodeCrash into master

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.

Merge request reports