Browse Source

Use bracket to initialise list

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
Casper Lamboo 2 years ago
parent
commit
a645fa7d96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cura/Settings/MachineManager.py

+ 1 - 1
cura/Settings/MachineManager.py

@@ -1634,7 +1634,7 @@ class MachineManager(QObject):
     @pyqtProperty("QList<QString>", notify = activeQualityDisplayNameChanged)
     def activeQualityDisplayNameStringParts(self) -> [str]:
         result_map = self.activeQualityDisplayNameMap
-        string_parts = list()
+        string_parts = []
 
         if result_map["custom_profile"] is not None:
             string_parts.append(result_map["custom_profile"])