summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qstroker.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:18:33 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-18 01:18:33 (GMT)
commit1900bfc37d38806894db2eb1deace8aff200ed88 (patch)
tree4dd64a5e1c3ffdb297240c28dd967beb65490cc0 /src/gui/painting/qstroker.cpp
parent7f0b65bf04f96edf0d39547f499dea1746d69ba3 (diff)
parent0ad9f711969ddbf5995ddf2b7fcd5087698b93d1 (diff)
downloadQt-1900bfc37d38806894db2eb1deace8aff200ed88.zip
Qt-1900bfc37d38806894db2eb1deace8aff200ed88.tar.gz
Qt-1900bfc37d38806894db2eb1deace8aff200ed88.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/gui/painting/qstroker.cpp')
-rw-r--r--src/gui/painting/qstroker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qstroker.cpp b/src/gui/painting/qstroker.cpp
index 228a6b1..8bb4728 100644
--- a/src/gui/painting/qstroker.cpp
+++ b/src/gui/painting/qstroker.cpp
@@ -910,8 +910,8 @@ QPointF qt_curves_for_arc(const QRectF &rect, qreal startAngle, qreal sweepLengt
}
}
- int startSegment = int(floor(startAngle / 90));
- int endSegment = int(floor((startAngle + sweepLength) / 90));
+ int startSegment = int(qFloor(startAngle / 90));
+ int endSegment = int(qFloor((startAngle + sweepLength) / 90));
qreal startT = (startAngle - startSegment * 90) / 90;
qreal endT = (startAngle + sweepLength - endSegment * 90) / 90;