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.
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.