projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4046ec7
)
Remove definitions of INV_EPS and M_SQRT2.
author
Robin Burchell
<robin+qt@viroteck.net>
Sun, 6 May 2012 22:22:13 +0000
(15:22 -0700)
committer
Qt by Nokia
<qt-info@nokia.com>
Mon, 7 May 2012 15:56:29 +0000
(17:56 +0200)
The use of these went away in Qt 4 commit
f7d61dab69308f0993c8a5f2232226d1713ac4a7
.
Change-Id: I0bcd52cf59f653e5b699fa7cfaf4be510bac6b88
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/painting/qbezier.cpp
patch
|
blob
|
history
diff --git
a/src/gui/painting/qbezier.cpp
b/src/gui/painting/qbezier.cpp
index
57dc571
..
1a1accc
100644
(file)
--- 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
*/