From e13c5b753a1c579b28e8b0af950a3972d4475a92 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 18 Mar 2020 16:49:13 +0100 Subject: Remove the remaining usages of QRegExp and QRegExpValidator Change-Id: Iab8e682eeb43b3403eba37f7decb7f7a494ae361 Reviewed-by: Simon Hausmann --- tests/manual/testbench/ColorEditor.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/manual') diff --git a/tests/manual/testbench/ColorEditor.qml b/tests/manual/testbench/ColorEditor.qml index 1e10d6d2..7f472f9b 100644 --- a/tests/manual/testbench/ColorEditor.qml +++ b/tests/manual/testbench/ColorEditor.qml @@ -48,7 +48,7 @@ ** ****************************************************************************/ -import QtQuick 2.12 +import QtQuick 2.14 import QtQuick.Controls 2.12 import QtQuick.Layouts 1.12 @@ -71,8 +71,8 @@ RowLayout { TextField { id: textField - validator: RegExpValidator{ - regExp: /#?[0-9a-fA-F]*/ + validator: RegularExpressionValidator{ + regularExpression: /#?[0-9a-fA-F]*/ } Layout.preferredWidth: 200 -- cgit v1.2.3