summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-31 05:04:12 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-31 11:07:57 (GMT)
commit6cf224de00ebf0681cd32a34866bdc3d16e0f45d (patch)
tree9ce6c7b46915aeb794c00c8587e5ae6467591f58
parenta475d029f7dc93534087b8d069b6eb1222389c65 (diff)
downloadQt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.zip
Qt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.tar.gz
Qt-6cf224de00ebf0681cd32a34866bdc3d16e0f45d.tar.bz2
Invalidate cached QVectorPath when QPainterPath changes
Reviewed-by: Samuel
-rw-r--r--src/gui/painting/qpainterpath.cpp2
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