summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetextinput/data/validators.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qdeclarativetextinput/data/validators.qml')
-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}/ }
}
}