summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-10-23 12:03:08 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-10-23 12:03:08 (GMT)
commit2c0921b667ec74df6ad3d749b30bb9b7c5843343 (patch)
tree294d9337f7cfc6a43d59d81dede31aef4fd642f6 /src/gui/effects/qgraphicseffect_p.h
parent5de213210ef4f14e698c3fd970cf7e6c5b27c72d (diff)
downloadQt-2c0921b667ec74df6ad3d749b30bb9b7c5843343.zip
Qt-2c0921b667ec74df6ad3d749b30bb9b7c5843343.tar.gz
Qt-2c0921b667ec74df6ad3d749b30bb9b7c5843343.tar.bz2
Fixed crash in QGraphicsEffects
Reviewed-by: Samuel
Diffstat (limited to 'src/gui/effects/qgraphicseffect_p.h')
-rw-r--r--src/gui/effects/qgraphicseffect_p.h2
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;