summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-12-09 14:49:15 +0100
committerGunnar Sletta <gunnar@trolltech.com>2009-12-09 14:49:15 +0100
commit9f3cde38bffb79da82d6248a873a687d37177954 (patch)
treef2d1fb4b185d0faa6224fd5c6b3ad9d199451a74 /src
parent32b45ba08745fdcedf6b3537a9f62cd23a5eb1ba (diff)
downloadqt4-tools-9f3cde38bffb79da82d6248a873a687d37177954.tar.gz
Don't assert on valid math in qbezier
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qbezier_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/painting/qbezier_p.h b/src/gui/painting/qbezier_p.h
index 7dbd0c279c..c2848710c5 100644
--- a/src/gui/painting/qbezier_p.h
+++ b/src/gui/painting/qbezier_p.h
@@ -166,8 +166,6 @@ inline void QBezier::coefficients(qreal t, qreal &a, qreal &b, qreal &c, qreal &
inline QPointF QBezier::pointAt(qreal t) const
{
- Q_ASSERT(t >= 0);
- Q_ASSERT(t <= 1);
#if 1
qreal a, b, c, d;
coefficients(t, a, b, c, d);