Use bracket to initialise list

Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
Casper Lamboo 2022-11-28 11:22:53 +01:00 committed by GitHub
parent 4fa024cd31
commit a645fa7d96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"])