mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 18:57:52 -06:00
Use QStringList rather than QVariantList
We know that they are strings after all. Contributes to issue CURA-8585.
This commit is contained in:
parent
1418bb072c
commit
9c51d620b2
1 changed files with 2 additions and 2 deletions
|
@ -235,11 +235,11 @@ class PackageModel(QObject):
|
|||
def whereToBuy(self) -> str:
|
||||
return self._where_to_buy
|
||||
|
||||
@pyqtProperty("QVariantList", constant = True)
|
||||
@pyqtProperty("QStringList", constant = True)
|
||||
def compatiblePrinters(self) -> List[str]:
|
||||
return self._compatible_printers
|
||||
|
||||
@pyqtProperty("QVariantList", constant = True)
|
||||
@pyqtProperty("QStringList", constant = True)
|
||||
def compatibleSupportMaterials(self) -> List[str]:
|
||||
return self._compatible_support_materials
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue