diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-20 13:49:15 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-21 13:54:46 (GMT) |
commit | 40649c420601bcc1f639fc8b337bfd7375d2b37e (patch) | |
tree | b192a98aea146c084fee0a17588702028237d8c6 /src/svg/qsvgstyle_p.h | |
parent | 3c2ebb7f209035f85a35dbb05e76dd7e80238ecb (diff) | |
download | Qt-40649c420601bcc1f639fc8b337bfd7375d2b37e.zip Qt-40649c420601bcc1f639fc8b337bfd7375d2b37e.tar.gz Qt-40649c420601bcc1f639fc8b337bfd7375d2b37e.tar.bz2 |
Fixed inheritence of SVG 'use' element fill attributes.
Inheritence of fill attributes was implemented by copying attributes
from the parent node. This approach wouldn't work if the node is
referenced by a 'use' element. Now, only the fill attributes which have
been explicitly set are applied on the painter while drawing.
Reviewed-by: Tor Arne
Diffstat (limited to 'src/svg/qsvgstyle_p.h')
-rw-r--r-- | src/svg/qsvgstyle_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/svg/qsvgstyle_p.h b/src/svg/qsvgstyle_p.h index ac5e109..70ecf5b 100644 --- a/src/svg/qsvgstyle_p.h +++ b/src/svg/qsvgstyle_p.h @@ -281,6 +281,7 @@ private: qreal m_oldOpacity; QString m_gradientId; bool m_gradientResolved; + bool m_fillSet; }; class QSvgViewportFillStyle : public QSvgStyleProperty |