From 470196c06f573a93e3229735496659eb99ca5b51 Mon Sep 17 00:00:00 2001 From: Bjoern Erik Nilsen Date: Wed, 8 Apr 2009 10:07:10 +0200 Subject: Rename qIsFuzzyNull to qFuzzyIsNull The function was added in fde7f3d03782c801901f511131458d6fcb1021a5 and we believe qFuzzyIsNull is a better naming and more in line with qFuzzyCompare. Reviewed-by: Lars Knoll Reviewed-by: nrc Reviewed-by: Samuel --- src/gui/painting/qtessellator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/painting/qtessellator.cpp') diff --git a/src/gui/painting/qtessellator.cpp b/src/gui/painting/qtessellator.cpp index ae0756597f..ce5ab74d50 100644 --- a/src/gui/painting/qtessellator.cpp +++ b/src/gui/painting/qtessellator.cpp @@ -1436,7 +1436,7 @@ void QTessellator::tessellateRect(const QPointF &a_, const QPointF &b_, qreal wi QPointF perp(pb.y() - pa.y(), pa.x() - pb.x()); qreal length = qSqrt(perp.x() * perp.x() + perp.y() * perp.y()); - if (qIsFuzzyNull(length)) + if (qFuzzyIsNull(length)) return; // need the half of the width -- cgit v1.2.3