QRect::MoveLeft is the wrong operation. We really want QRect:setX, in order to leave the right edge of the rectangle in the same position.