mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 07:03:56 -06:00
Put PackageList in Marketplace namespace
This way it's not available to the rest of Cura, especially since PackageList is not such an uncommon name. It could give name collisions. Moreover, the rest of Cura doesn't need to have a list of packages from the Marketplace, so it's better separation. Contributes to issue CURA-8556.
This commit is contained in:
parent
797ff9c573
commit
77d1bebbdb
2 changed files with 3 additions and 3 deletions
|
@ -31,7 +31,7 @@ class Marketplace(Extension):
|
|||
super().__init__()
|
||||
self._window: Optional["QObject"] = None # If the window has been loaded yet, it'll be cached in here.
|
||||
|
||||
qmlRegisterType(PackageList, "Cura", 1, 7, "PackageList")
|
||||
qmlRegisterType(PackageList, "Marketplace", 1, 0, "PackageList")
|
||||
|
||||
@pyqtSlot()
|
||||
def show(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue