summaryrefslogtreecommitdiffstats
path: root/examples/animation/stickman/node.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation/stickman/node.h')
-rw-r--r--examples/animation/stickman/node.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/animation/stickman/node.h b/examples/animation/stickman/node.h
index 66ee565f5c..4360d2eee9 100644
--- a/examples/animation/stickman/node.h
+++ b/examples/animation/stickman/node.h
@@ -44,10 +44,9 @@
#include <QGraphicsItem>
-class Node: public QObject, public QGraphicsItem
+class Node: public QGraphicsObject
{
Q_OBJECT
- Q_PROPERTY(QPointF position READ pos WRITE setPos)
public:
Node(const QPointF &pos, QGraphicsItem *parent = 0);
~Node();