summaryrefslogtreecommitdiffstats
path: root/demos/sub-attaq/submarine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/sub-attaq/submarine.cpp')
-rw-r--r--demos/sub-attaq/submarine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/sub-attaq/submarine.cpp b/demos/sub-attaq/submarine.cpp
index 857b009..383005d 100644
--- a/demos/sub-attaq/submarine.cpp
+++ b/demos/sub-attaq/submarine.cpp
@@ -111,7 +111,7 @@ SubMarine::SubMarine(int type, const QString &name, int points, QGraphicsItem *
resize(pixmapItem->boundingRect().width(),pixmapItem->boundingRect().height());
setTransformOriginPoint(boundingRect().center());
- graphicsRotation = new QGraphicsRotation3D(this);
+ graphicsRotation = new QGraphicsRotation(this);
graphicsRotation->setAxis(QVector3D(0, 1, 0));
graphicsRotation->setOrigin(QPointF(size().width()/2, size().height()/2));
QList<QGraphicsTransform *> r;