You can make `size` a QSizeF now, to avoid the weirdness on the line below. :-)