summaryrefslogtreecommitdiffstats
path: root/examples/opengl/pbuffers/cube.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-03-10 07:55:00 (GMT)
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-03-10 08:00:48 (GMT)
commit07fa5bd76e6ecd87ea8f8422ddaec56eb4db2289 (patch)
tree1fbc7b05a672d9ac438389c4c71871e2174c8057 /examples/opengl/pbuffers/cube.h
parentfe02247a72467f8bd95c0e68c316c1d71f8e0c1e (diff)
downloadQt-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.h3
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;
};