diff options
author | Sami Merila <sami.merila@nokia.com> | 2010-09-03 12:11:13 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2010-09-03 12:11:13 (GMT) |
commit | 8d42b6ac40ee57857b8b57934c9c6bbe05809720 (patch) | |
tree | 2894c19a16b6797bcd61ff3b4e1517c41cb8c4e8 /src/gui/styles/qs60style_p.h | |
parent | 9c726c2f2791f82de52f54ffc1f580630d10c61d (diff) | |
download | Qt-8d42b6ac40ee57857b8b57934c9c6bbe05809720.zip Qt-8d42b6ac40ee57857b8b57934c9c6bbe05809720.tar.gz Qt-8d42b6ac40ee57857b8b57934c9c6bbe05809720.tar.bz2 |
Plug memory leak from QS60Style
Currently style leaks an animation object (QS60StyleAnimation) when
style is destroyed. To avoid this, animation object array is
deleted in the style's destructor.
Task-number: QTBUG-13145
Reviewed-by: mread
Diffstat (limited to 'src/gui/styles/qs60style_p.h')
-rw-r--r-- | src/gui/styles/qs60style_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/styles/qs60style_p.h b/src/gui/styles/qs60style_p.h index 836969a..51ced96 100644 --- a/src/gui/styles/qs60style_p.h +++ b/src/gui/styles/qs60style_p.h @@ -571,6 +571,7 @@ public: void startAnimation(QS60StyleEnums::SkinParts animation); void stopAnimation(QS60StyleEnums::SkinParts animation); static QS60StyleAnimation* animationDefinition(QS60StyleEnums::SkinParts part); + static void removeAnimations(); #endif |