diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-08-20 23:20:14 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-08-20 23:20:14 (GMT) |
commit | bb8ed752d728c458dab7bd9279c9040a1c137789 (patch) | |
tree | 16168717ae22f6770fbb6612b23a7a8e4b23e8bd /demos | |
parent | e90a5e819478b656963de0492a1b234c8863a12b (diff) | |
parent | a7b31fccbbbb4250e9cad709fe382fe16421b236 (diff) | |
download | Qt-bb8ed752d728c458dab7bd9279c9040a1c137789.zip Qt-bb8ed752d728c458dab7bd9279c9040a1c137789.tar.gz Qt-bb8ed752d728c458dab7bd9279c9040a1c137789.tar.bz2 |
Merge branch 'kinetic-transform' of git@scm.dev.nokia.troll.no:qt/kinetic
Diffstat (limited to 'demos')
-rw-r--r-- | demos/sub-attaq/submarine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/sub-attaq/submarine.cpp b/demos/sub-attaq/submarine.cpp index 383005d..42a681d 100644 --- a/demos/sub-attaq/submarine.cpp +++ b/demos/sub-attaq/submarine.cpp @@ -113,7 +113,7 @@ SubMarine::SubMarine(int type, const QString &name, int points, QGraphicsItem * graphicsRotation = new QGraphicsRotation(this); graphicsRotation->setAxis(QVector3D(0, 1, 0)); - graphicsRotation->setOrigin(QPointF(size().width()/2, size().height()/2)); + graphicsRotation->setOrigin(QVector3D(size().width()/2, size().height()/2, 0)); QList<QGraphicsTransform *> r; r.append(graphicsRotation); setTransformations(r); |