summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpaintengineex.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2010-02-25 06:53:23 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2010-02-25 06:55:16 (GMT)
commit533bf9e4b7bda99c589f14fb308fa75231196703 (patch)
tree66e70f1b2116ebb61cb015f1f41f83d00e5291ae /src/gui/painting/qpaintengineex.cpp
parentd380019ec6b434d6d393ab50d8c63f07c3f2533e (diff)
downloadQt-533bf9e4b7bda99c589f14fb308fa75231196703.zip
Qt-533bf9e4b7bda99c589f14fb308fa75231196703.tar.gz
Qt-533bf9e4b7bda99c589f14fb308fa75231196703.tar.bz2
Fix point drawing in QPainter.
Diffstat (limited to 'src/gui/painting/qpaintengineex.cpp')
-rw-r--r--src/gui/painting/qpaintengineex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp
index ad486ba..98762f0 100644
--- a/src/gui/painting/qpaintengineex.cpp
+++ b/src/gui/painting/qpaintengineex.cpp
@@ -893,7 +893,7 @@ void QPaintEngineEx::drawPoints(const QPoint *points, int pointCount)
for (int i=0; i<count; ++i) {
pts[++oset] = points[i].x();
pts[++oset] = points[i].y();
- pts[++oset] = points[i].x() + 1/63;
+ pts[++oset] = points[i].x() + 1/63.;
pts[++oset] = points[i].y();
}
QVectorPath path(pts, count * 2, qpaintengineex_line_types_16, QVectorPath::LinesHint);