-
Ulf Hermann authored
Constructing a QRectF from two points adds some float arithmetic that can be avoided by doing the relevant math in integer before. Also, make sure that we do the float subtraction as last step when calculating the top of the rectangle. Change-Id: Id33ffa0cf022ace09d5cdc3e6114b2add5f9b831 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
cc77b471