summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobin Burchell <robin+qt@viroteck.net>2012-05-06 15:22:13 -0700
committerQt by Nokia <qt-info@nokia.com>2012-05-07 17:56:29 +0200
commit30a424543858a14a649624e8ce21e4506c8d9532 (patch)
treebb0fc7860c87075d3b1c5299ec3cd0a0a6bda70b /src
parent4046ec71c86f41eb45d706ab3fc2bcf21fd59d9f (diff)
downloadqtbase-30a424543858a14a649624e8ce21e4506c8d9532.tar.gz
Remove definitions of INV_EPS and M_SQRT2.
The use of these went away in Qt 4 commit f7d61dab69308f0993c8a5f2232226d1713ac4a7. Change-Id: I0bcd52cf59f653e5b699fa7cfaf4be510bac6b88 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qbezier.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gui/painting/qbezier.cpp b/src/gui/painting/qbezier.cpp
index 57dc5710fa..1a1accc965 100644
--- a/src/gui/painting/qbezier.cpp
+++ b/src/gui/painting/qbezier.cpp
@@ -54,17 +54,6 @@ QT_BEGIN_NAMESPACE
//#define QDEBUG_BEZIER
-#ifdef FLOAT_ACCURACY
-#define INV_EPS (1L<<23)
-#else
-/* The value of 1.0 / (1L<<14) is enough for most applications */
-#define INV_EPS (1L<<14)
-#endif
-
-#ifndef M_SQRT2
-#define M_SQRT2 1.41421356237309504880
-#endif
-
/*!
\internal
*/