summaryrefslogtreecommitdiffstats
path: root/examples/animation
diff options
context:
space:
mode:
Diffstat (limited to 'examples/animation')
-rw-r--r--examples/animation/animatedtiles/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/animatedtiles/main.cpp b/examples/animation/animatedtiles/main.cpp
index 88e348333f..50bd33860e 100644
--- a/examples/animation/animatedtiles/main.cpp
+++ b/examples/animation/animatedtiles/main.cpp
@@ -164,7 +164,7 @@ int main(int argc, char **argv)
centeredButton->setPos(100, 100);
scene.addItem(buttonParent);
- buttonParent->scale(0.75, 0.75);
+ buttonParent->setTransform(QTransform::fromScale(0.75, 0.75), true);
buttonParent->setPos(200, 200);
buttonParent->setZValue(65);