diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-11-09 15:32:01 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-11-16 15:21:31 (GMT) |
commit | 8c026965779aa43c519f91a97495d0864ec3bc26 (patch) | |
tree | e618b446d71c8075b203dbe622bb52fe286ece2f /doc/src/snippets/code/src_opengl_qgl.cpp | |
parent | 8ccb78916cbf1ca7398aa4d71df9d2d770654d82 (diff) | |
download | Qt-8c026965779aa43c519f91a97495d0864ec3bc26.zip Qt-8c026965779aa43c519f91a97495d0864ec3bc26.tar.gz Qt-8c026965779aa43c519f91a97495d0864ec3bc26.tar.bz2 |
Fixed handling of stroke-dashoffset in the SVG module.
When stroke-dashoffset was set on a solid stroke
(stroke-dasharray="none"), the path was not painted.
QPen::setDashOffset() automatically sets the pen's style to
CustomDashLine, so if there is no dash array, nothing is drawn. The fix
is to avoid calling QPen::setDashOffset() when the pen is solid.
Task-number: QTBUG-5609
Reviewed-by: Tor Arne
(cherry picked from commit dd34feda9c0ec23f3aef6863ce71b15b57aeba7d)
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions