diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-28 14:35:37 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-07-28 14:45:49 (GMT) |
commit | c50124a15be1e564190f4bb115e2fc67a4c82036 (patch) | |
tree | 5d76f1ee809161ecce190eff3da8720c4975b52b /src/gui/painting/qpainterpath.cpp | |
parent | cb04e54252e69fd794aff1ab7ab5ef6c4fbcafad (diff) | |
download | Qt-c50124a15be1e564190f4bb115e2fc67a4c82036.zip Qt-c50124a15be1e564190f4bb115e2fc67a4c82036.tar.gz Qt-c50124a15be1e564190f4bb115e2fc67a4c82036.tar.bz2 |
QPainterPath's vectorpath cache wasn't cleared on detach()
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/painting/qpainterpath.cpp')
-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 ea86cf5..09972b0 100644 --- a/src/gui/painting/qpainterpath.cpp +++ b/src/gui/painting/qpainterpath.cpp @@ -3271,6 +3271,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 |