core: Cleanup OutputTransform::map(QRectF,QRect)
Return the resulting value immediately than use moveLeft(),moveRight(). It makes no difference for QRectF, but it might be nicer for QRect which would need to recompute the right and bottom coordinates twice. I wanted to do this refactoring for a while but didn't do it due to the lack of test coverage.
parent
e6853a91
Please register or sign in to comment