diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2010-02-25 06:53:23 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2010-02-25 06:55:16 (GMT) |
commit | 533bf9e4b7bda99c589f14fb308fa75231196703 (patch) | |
tree | 66e70f1b2116ebb61cb015f1f41f83d00e5291ae /src/gui/painting/qpaintengineex.cpp | |
parent | d380019ec6b434d6d393ab50d8c63f07c3f2533e (diff) | |
download | Qt-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.cpp | 2 |
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); |