diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-31 05:04:12 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-31 11:07:57 (GMT) |
commit | 6cf224de00ebf0681cd32a34866bdc3d16e0f45d (patch) | |
tree | 9ce6c7b46915aeb794c00c8587e5ae6467591f58 /src/gui/painting | |
parent | a475d029f7dc93534087b8d069b6eb1222389c65 (diff) | |
download | Qt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.zip Qt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.tar.gz Qt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.tar.bz2 |
Invalidate cached QVectorPath when QPainterPath changes
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting')
-rw-r--r-- | src/gui/painting/qpainterpath.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qpainterpath.cpp b/src/gui/painting/qpainterpath.cpp index ff133b6..cb9ea80 100644 --- a/src/gui/painting/qpainterpath.cpp +++ b/src/gui/painting/qpainterpath.cpp @@ -3215,6 +3215,8 @@ void QPainterPath::setDirty(bool dirty) { d_func()->dirtyBounds = dirty; d_func()->dirtyControlBounds = dirty; + delete d_func()->pathConverter; + d_func()->pathConverter = 0; } void QPainterPath::computeBoundingRect() const |