summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpathclipper_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-06-25 12:11:44 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-06-25 14:16:21 (GMT)
commita179ae5dd94d0c51ebbf7d5c5b8eef5b3099c163 (patch)
tree88aeff99d2800d75d47b7f8ff746c4f5e0ab66c5 /src/gui/painting/qpathclipper_p.h
parent4b25dcc613ebc4e72c6cc042af7a5f8c1f590eeb (diff)
downloadQt-a179ae5dd94d0c51ebbf7d5c5b8eef5b3099c163.zip
Qt-a179ae5dd94d0c51ebbf7d5c5b8eef5b3099c163.tar.gz
Qt-a179ae5dd94d0c51ebbf7d5c5b8eef5b3099c163.tar.bz2
Fixed autotest failure in QPathClipper on N900.
We need to use double precision for the angle computations, as they are crucial to build correct winged edge structures. Reviewed-by: Trond
Diffstat (limited to 'src/gui/painting/qpathclipper_p.h')
-rw-r--r--src/gui/painting/qpathclipper_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpathclipper_p.h b/src/gui/painting/qpathclipper_p.h
index fab618d..bdad4e1 100644
--- a/src/gui/painting/qpathclipper_p.h
+++ b/src/gui/painting/qpathclipper_p.h
@@ -148,8 +148,8 @@ public:
int first;
int second;
- qreal angle;
- qreal invAngle;
+ double angle;
+ double invAngle;
int next(Traversal traversal, Direction direction) const;