mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update RegExpValidator to RegularExpressionValidator
Due to Qt6 API change CURA-8640
This commit is contained in:
parent
99a3a8d11d
commit
3c9e2a1b08
13 changed files with 26 additions and 26 deletions
|
@ -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 { }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue