summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-04-13 15:00:41 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-04-13 15:00:41 (GMT)
commit69a13ce889ce32f118a0f65c7fcc97cca3791372 (patch)
tree57921a0ccc65a09c7b4980e3cb9a6a88507c61bd /src/gui
parent5de6b5b90e56e325d8972c4eed2ce8df2f716a76 (diff)
downloadQt-69a13ce889ce32f118a0f65c7fcc97cca3791372.zip
Qt-69a13ce889ce32f118a0f65c7fcc97cca3791372.tar.gz
Qt-69a13ce889ce32f118a0f65c7fcc97cca3791372.tar.bz2
Revert "removed a few warnings on wince builds"
This reverts commit 6b2cf497268037a5c127affeef3e6efd055164ec.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/painting/qbezier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qbezier.cpp b/src/gui/painting/qbezier.cpp
index 147fbf9..a08c79e 100644
--- a/src/gui/painting/qbezier.cpp
+++ b/src/gui/painting/qbezier.cpp
@@ -118,7 +118,7 @@ QBezier QBezier::mapBy(const QTransform &transform) const
}
//0.05 is really low, but required for scaled-up beziers...
-static const qreal flatness = qreal(0.05);
+static const qreal flatness = 0.05;
//based on "Fast, precise flattening of cubic Bezier path and offset curves"
// by T. F. Hain, A. L. Ahmad, S. V. R. Racherla and D. D. Langan