diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-04-09 03:05:13 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-04-09 06:02:29 (GMT) |
commit | ec389436a74a7b619924bd47942e92203b1fb213 (patch) | |
tree | 307e550b2e0659cf63998324a903301e94c05d5e /examples/declarative/tutorials/samegame/samegame3/Button.qml | |
parent | 475abec27948923ae6de74db53b137f19c661601 (diff) | |
download | Qt-ec389436a74a7b619924bd47942e92203b1fb213.zip Qt-ec389436a74a7b619924bd47942e92203b1fb213.tar.gz Qt-ec389436a74a7b619924bd47942e92203b1fb213.tar.bz2 |
Example code style improvements
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame3/Button.qml')
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame3/Button.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame3/Button.qml b/examples/declarative/tutorials/samegame/samegame3/Button.qml index 04d1d1f..cf4c61b 100644 --- a/examples/declarative/tutorials/samegame/samegame3/Button.qml +++ b/examples/declarative/tutorials/samegame/samegame3/Button.qml @@ -13,7 +13,8 @@ Rectangle { gradient: Gradient { GradientStop { position: 0.0 - color: if (mouseArea.pressed) { activePalette.dark } else { activePalette.light } } + color: if (mouseArea.pressed) { activePalette.dark } else { activePalette.light } + } GradientStop { position: 1.0; color: activePalette.button } } |