diff options
author | Tatiana Borisova <tatiana.borisova@qt.io> | 2023-02-28 19:22:39 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-03-02 20:37:43 +0000 |
commit | 407a2760c8e0d92a8393ff7f14a85186ed43c95b (patch) | |
tree | 7712ebd3fe73e5d8c7a1a899c01dee4d53242298 /examples/grpc/magic8ball/WaitingAnimation.qml | |
parent | e4c59cb569da5da5e8269b180acee66c05c83f56 (diff) |
Window Material theme should be always light for magic8ball app
Plus, make clientserver code more readable
Task-number: QTBUG-109598
Change-Id: If8f5c6779a8114308fcc02cf517ce602050a4f68
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
(cherry picked from commit fb47ac8040e97557599173ec474c9cbae2a3a996)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/grpc/magic8ball/WaitingAnimation.qml')
-rw-r--r-- | examples/grpc/magic8ball/WaitingAnimation.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/grpc/magic8ball/WaitingAnimation.qml b/examples/grpc/magic8ball/WaitingAnimation.qml index 50c3154..16043ea 100644 --- a/examples/grpc/magic8ball/WaitingAnimation.qml +++ b/examples/grpc/magic8ball/WaitingAnimation.qml @@ -31,7 +31,7 @@ Rectangle { from: 0.3 to: 1 duration: 1000 - running: runAnimation + running: root.runAnimation onStopped: closing.start() easing.amplitude: 6.0 easing.period: 2.5 @@ -45,7 +45,7 @@ Rectangle { duration: 1000 running: false onStopped: { - if (runAnimation) + if (root.runAnimation) openning.start() } easing.amplitude: 6.0 |