diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-25 22:25:38 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-25 22:25:38 (GMT) |
commit | 9aa00de1d277763c0f7a380fde27face60e5f686 (patch) | |
tree | a1da2e36be141b2020634378c8517085fb533985 | |
parent | f78d8cce8fc78b0233237e5d1414a1fd4b23e37a (diff) | |
download | Qt-9aa00de1d277763c0f7a380fde27face60e5f686.zip Qt-9aa00de1d277763c0f7a380fde27face60e5f686.tar.gz Qt-9aa00de1d277763c0f7a380fde27face60e5f686.tar.bz2 |
Fix a crash in shutdown of QGraphicsEffect
Reviewed-by: trustme
-rw-r--r-- | src/gui/effects/qgraphicseffect_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/effects/qgraphicseffect_p.h b/src/gui/effects/qgraphicseffect_p.h index 8fb55d8..fc925f2 100644 --- a/src/gui/effects/qgraphicseffect_p.h +++ b/src/gui/effects/qgraphicseffect_p.h @@ -102,8 +102,8 @@ public: QGraphicsEffect::ChangeFlags flags; if (source) { flags |= QGraphicsEffect::SourceDetached; - source->d_func()->detach(); source->d_func()->invalidateCache(); + source->d_func()->detach(); delete source; } source = newSource; |