diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-03-13 13:00:16 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2018-03-14 09:43:14 +0000 |
commit | 98d06b5130d18d32e32e059cb1197c93b05bd169 (patch) | |
tree | 6d2e32222deddc4af309f3a00506141f8708a275 /src/runtime/q3dsslideplayer_p.h | |
parent | 4c09c54fdc20bd7a2d0534384a71052dcd920daa (diff) |
Temporary fix for animations on objects unlinked from the scenegraph
This leads to leaking attached->animationData and the callback pointers
in it. Needs a more sophisticated solution later.
Change-Id: I7c6313efd0268b7f010392219abfca902dbcd6dd
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/runtime/q3dsslideplayer_p.h')
-rw-r--r-- | src/runtime/q3dsslideplayer_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/q3dsslideplayer_p.h b/src/runtime/q3dsslideplayer_p.h index 1d8a7d4..3bf3700 100644 --- a/src/runtime/q3dsslideplayer_p.h +++ b/src/runtime/q3dsslideplayer_p.h @@ -103,6 +103,8 @@ public: void setMode(PlayerMode mode); PlayerMode mode() const { return m_mode; } + void objectAboutToBeRemovedFromScene(Q3DSGraphObject *obj); + public Q_SLOTS: void play(); void stop(); |