summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2010-03-26 09:55:48 (GMT)
committerRoberto Raggi <roberto.raggi@nokia.com>2010-03-26 09:57:33 (GMT)
commit31b972b12db4497f1c3ba1762d784c7315e75b62 (patch)
tree81c4a15ff67120e9a5cdd293f73f284028b5aa4b /tests
parenta034773ce0e9d3fe3e7768da248d8c2e99cf132d (diff)
downloadQt-31b972b12db4497f1c3ba1762d784c7315e75b62.zip
Qt-31b972b12db4497f1c3ba1762d784c7315e75b62.tar.gz
Qt-31b972b12db4497f1c3ba1762d784c7315e75b62.tar.bz2
Recompute the source location of regexp literals.
Task-number: QTBUG-9367
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativetextinput/data/validators.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativetextinput/data/validators.qml b/tests/auto/declarative/qdeclarativetextinput/data/validators.qml
index efe7570..531a232 100644
--- a/tests/auto/declarative/qdeclarativetextinput/data/validators.qml
+++ b/tests/auto/declarative/qdeclarativetextinput/data/validators.qml
@@ -15,7 +15,7 @@ Item {
validator: DoubleValidator{top: 12.12; bottom: 2.93; decimals: 2; notation: DoubleValidator.StandardNotation}
}
TextInput { id: strInput;
- validator: RegExpValidator { regExp: RegExp(/[a-zA-z]{2,4}/) }
+ validator: RegExpValidator { regExp: /[a-zA-z]{2,4}/ }
}
}