diff options
Diffstat (limited to 'tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml')
-rw-r--r-- | tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml b/tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml index b5af13cc4c..c0317f3583 100644 --- a/tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml +++ b/tests/auto/quick/qquicktextinput/data/qtbug-19956regexp.qml @@ -1,4 +1,4 @@ -import QtQuick 2.0 +import QtQuick 2.14 TextInput { id: textinput @@ -6,8 +6,8 @@ TextInput { height: 50 width: 200 text: "abc" - validator: RegExpValidator { + validator: RegularExpressionValidator { id: regexpvalidator - regExp: regexvalue + regularExpression: regexvalue } } |