Throw QRectF::normalized() in as I don't understand what top left and bottom right means for Qt

This commit is contained in:
Andreas Fabri 2010-06-30 12:54:40 +00:00
parent 7c0663125c
commit 6b5efe3b9f
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public:
QRectF operator()(const CGAL_Iso_rectangle_2& r) const QRectF operator()(const CGAL_Iso_rectangle_2& r) const
{ {
return QRectF(operator()(r[3]), operator()(r[1])); // top left, bottom right return QRectF(operator()(r[3]), operator()(r[1])).normalized(); // top left, bottom right
} }