diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-28 09:33:01 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-10-29 15:37:59 +0200 |
commit | 9fc480db9a02b0f1084719cc676b976efda18013 (patch) | |
tree | a712b65c14275a764729baeef897dce7a5f63e8d /src/qml/doc/snippets | |
parent | 8591568c7522198181c7969847dd7211d470913f (diff) | |
download | qtdeclarative-9fc480db9a02b0f1084719cc676b976efda18013.tar.gz |
Update PropertyChanges in src and tools
Use generalized grouped properties rather than the target/property
syntax.
Change-Id: I2cf42fa7933d67aa40ded5ffd00be51be8f9b7c2
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qml/doc/snippets')
-rw-r--r-- | src/qml/doc/snippets/qml/properties.qml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/doc/snippets/qml/properties.qml b/src/qml/doc/snippets/qml/properties.qml index e924ba5439..eb07b72da4 100644 --- a/src/qml/doc/snippets/qml/properties.qml +++ b/src/qml/doc/snippets/qml/properties.qml @@ -132,8 +132,7 @@ Rectangle { states: State { name: "WARNING" PropertyChanges { - target: rectangle - color: warning.color + rectangle.color: warning.color } } } |