diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-03-10 07:55:00 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-03-10 08:00:48 (GMT) |
commit | 07fa5bd76e6ecd87ea8f8422ddaec56eb4db2289 (patch) | |
tree | 1fbc7b05a672d9ac438389c4c71871e2174c8057 /examples/opengl/pbuffers/cube.h | |
parent | fe02247a72467f8bd95c0e68c316c1d71f8e0c1e (diff) | |
download | Qt-07fa5bd76e6ecd87ea8f8422ddaec56eb4db2289.zip Qt-07fa5bd76e6ecd87ea8f8422ddaec56eb4db2289.tar.gz Qt-07fa5bd76e6ecd87ea8f8422ddaec56eb4db2289.tar.bz2 |
Fix PBuffer example to work again
Done by: Trond
Diffstat (limited to 'examples/opengl/pbuffers/cube.h')
-rw-r--r-- | examples/opengl/pbuffers/cube.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/opengl/pbuffers/cube.h b/examples/opengl/pbuffers/cube.h index 2577e76..5c985a3 100644 --- a/examples/opengl/pbuffers/cube.h +++ b/examples/opengl/pbuffers/cube.h @@ -43,6 +43,7 @@ #include <QtOpenGL/qgl.h> #include <QtCore/qvector.h> +#include <QtCore/qsequentialanimationgroup.h> #include <QtGui/qmatrix4x4.h> #include <QtGui/qvector3d.h> #include <QtGui/qvector2d.h> @@ -130,8 +131,8 @@ signals: private: qreal rot; QPropertyAnimation *r; - QPropertyAnimation *a; QPropertyAnimation *rtn; + QSequentialAnimationGroup *animGroup; qreal startx; friend class CubeBuilder; }; |