summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/planets-qml
diff options
context:
space:
mode:
authorFranck Arrecot <franck.arrecot@kdab.com>2016-03-10 09:58:16 +0100
committerFranck Arrecot <franck.arrecot@gmail.com>2016-03-11 13:55:04 +0000
commitc4d7ad6b1e4672a98384724f5aa45338686f2e64 (patch)
tree50fc2946e24b8d0c3cd849224c9924d012546d87 /examples/qt3d/planets-qml
parent55e681ac6cad2a059785a08ac920748b5f60acf9 (diff)
Class QLogicComponent changes
Task-number: QTBUG-51448 Change-Id: I1359cbfe61dbef291859d15b16bda61639493432 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/planets-qml')
-rw-r--r--examples/qt3d/planets-qml/SolarSystem.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/planets-qml/SolarSystem.qml b/examples/qt3d/planets-qml/SolarSystem.qml
index b87d5fe3c..62ad9a27c 100644
--- a/examples/qt3d/planets-qml/SolarSystem.qml
+++ b/examples/qt3d/planets-qml/SolarSystem.qml
@@ -115,8 +115,8 @@ Entity {
property real actualScale
// Animate solar system with LogicComponent
- LogicComponent {
- onFrameUpdate: {
+ FrameAction {
+ onTriggered: {
frames++
animate(focusedPlanet)
}