Remove catalog from Textfield

The creation of the catalog is rather slow, so it's better not to create it for every component
This commit is contained in:
Jaime van Kessel 2022-02-15 16:28:29 +01:00
parent eb7ab657fe
commit 13227249b5
2 changed files with 2 additions and 4 deletions

View file

@ -16,9 +16,7 @@ TextField
id: textField
property alias leftIcon: iconLeft.source
UM.I18nCatalog { id: catalog; name: "cura" }
hoverEnabled: true
selectByMouse: true
font: UM.Theme.getFont("default")