diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-16 14:24:03 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-16 14:28:15 (GMT) |
commit | 2883cf47431c9d944ccd40785b079d8625df14f1 (patch) | |
tree | 41e6a6723c54359dd88c3cc23f8a40209d084e84 /src/opengl | |
parent | 21a10dba28f6abc2659929ce8bbaf0e0fd32d3f5 (diff) | |
download | Qt-2883cf47431c9d944ccd40785b079d8625df14f1.zip Qt-2883cf47431c9d944ccd40785b079d8625df14f1.tar.gz Qt-2883cf47431c9d944ccd40785b079d8625df14f1.tar.bz2 |
Fixed bug where line widths were rounded to integers in the GL engine.
Regression from Qt 4.4.
Task-number: 257990
Reviewed-by: Tom
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qpaintengine_opengl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp index 84151ee..de11da7 100644 --- a/src/opengl/qpaintengine_opengl.cpp +++ b/src/opengl/qpaintengine_opengl.cpp @@ -4171,7 +4171,7 @@ void QOpenGLPaintEnginePrivate::strokePath(const QPainterPath &path, bool use_ca QPen pen = cpen; if (txscale != 1) - pen.setWidthF(pen.width() * txscale); + pen.setWidthF(pen.widthF() * txscale); if (use_cache) fillPath(qt_opengl_stroke_cache()->getStrokedPath(temp.map(path), pen)); else |