diff options
Diffstat (limited to 'src/doc/src/snippets/declarative/SelfDestroyingRect.qml')
-rw-r--r-- | src/doc/src/snippets/declarative/SelfDestroyingRect.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/src/snippets/declarative/SelfDestroyingRect.qml b/src/doc/src/snippets/declarative/SelfDestroyingRect.qml index 59b350cb..3029a448 100644 --- a/src/doc/src/snippets/declarative/SelfDestroyingRect.qml +++ b/src/doc/src/snippets/declarative/SelfDestroyingRect.qml @@ -45,9 +45,9 @@ Rectangle { width: 80; height: 80 color: "red" - NumberAnimation on opacity { + NumberAnimation on opacity { to: 0 - duration: 1000 + duration: 1000 onRunningChanged: { if (!running) { |