Browse Source

Remove unneeded catalog

The catalog was created over and over again even though it wasn't needed.
On my machine this took 0.25 seconds, so it does add up
Jaime van Kessel 3 years ago
parent
commit
512b0a1dbe
1 changed files with 0 additions and 6 deletions
  1. 0 6
      resources/qml/Widgets/ComboBox.qml

+ 0 - 6
resources/qml/Widgets/ComboBox.qml

@@ -15,12 +15,6 @@ ComboBox
 {
     id: control
 
-    UM.I18nCatalog
-    {
-        id: catalog
-        name: "cura"
-    }
-
     property var defaultTextOnEmptyModel: catalog.i18nc("@label", "No items to select from")  // Text displayed in the combobox when the model is empty
     property var defaultTextOnEmptyIndex: ""  // Text displayed in the combobox when the model has items but no item is selected
     enabled: delegateModel.count > 0