Update RegExpValidator to RegularExpressionValidator

Due to Qt6 API change

CURA-8640
This commit is contained in:
c.lamboo 2022-03-30 15:10:37 +02:00
parent 99a3a8d11d
commit 3c9e2a1b08
13 changed files with 26 additions and 26 deletions

View file

@ -235,9 +235,9 @@ Item
placeholderText: catalog.i18nc("@text", "Please name your printer")
maximumLength: 40
width: parent.width - (printerNameLabel.width + (3 * UM.Theme.getSize("default_margin").width))
validator: RegExpValidator
validator: RegularExpressionValidator
{
regExp: printerNameTextField.machineNameValidator.machineNameRegex
regularExpression: printerNameTextField.machineNameValidator.machineNameRegex
}
property var machineNameValidator: Cura.MachineNameValidator { }
}