Skip to content
Commit b733bb69 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment