diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-25 23:49:39 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-25 23:49:39 (GMT) |
commit | f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b (patch) | |
tree | e877582a68154144530759450b7fad81be650199 /src/declarative/util | |
parent | c08941ea0780779e6600e03ab0c62ce3461e2660 (diff) | |
download | Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.zip Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.gz Qt-f75961dfd20b82f2f5e2a4b7feaf59c841a93f6b.tar.bz2 |
Remove some Script {} docs
Diffstat (limited to 'src/declarative/util')
-rw-r--r-- | src/declarative/util/qdeclarativestategroup.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/declarative/util/qdeclarativestategroup.cpp b/src/declarative/util/qdeclarativestategroup.cpp index 083e87d..bc4582c 100644 --- a/src/declarative/util/qdeclarativestategroup.cpp +++ b/src/declarative/util/qdeclarativestategroup.cpp @@ -206,13 +206,11 @@ QDeclarativeListProperty<QDeclarativeTransition> QDeclarativeStateGroup::transit example: \qml - Script { - function toggle() { - if (button.state == 'On') - button.state = 'Off'; - else - button.state = 'On'; - } + function toggle() { + if (button.state == 'On') + button.state = 'Off'; + else + button.state = 'On'; } \endqml |