summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelanguage
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:09:49 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-04-08 03:09:49 (GMT)
commitccb6235ae842b7e63997210e5169cc00f4e0e5e8 (patch)
tree6f5bbff96ceef357407f38d968bf28999aa5a460 /tests/auto/declarative/qdeclarativelanguage
parent0c5f0dcf5749a64449ed444a496a9b9876133abe (diff)
downloadQt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.zip
Qt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.tar.gz
Qt-ccb6235ae842b7e63997210e5169cc00f4e0e5e8.tar.bz2
Remove usage of Script where not actually testing the obsolete construct.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelanguage')
-rw-r--r--tests/auto/declarative/qdeclarativelanguage/data/i18nScript.qml9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/auto/declarative/qdeclarativelanguage/data/i18nScript.qml b/tests/auto/declarative/qdeclarativelanguage/data/i18nScript.qml
index 942ed90..e77cb52 100644
--- a/tests/auto/declarative/qdeclarativelanguage/data/i18nScript.qml
+++ b/tests/auto/declarative/qdeclarativelanguage/data/i18nScript.qml
@@ -1,12 +1,9 @@
import Test 1.0
MyTypeObject {
- Script {
- function val() {
- var áâãäå = 20
- return "Test áâãäå: " + áâãäå
- }
-
+ function val() {
+ var áâãäå = 20
+ return "Test áâãäå: " + áâãäå
}
stringProperty: val()
}