mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 18:19:15 +08:00
Properly get the application
Why are we getting this passed via parent???
This commit is contained in:
parent
7665f8a7cb
commit
f3be394080
@ -25,7 +25,7 @@ class CuraPackageManager(QObject):
|
||||
def __init__(self, parent = None):
|
||||
super().__init__(parent)
|
||||
|
||||
self._application = parent
|
||||
self._application = Application.getInstance()
|
||||
self._container_registry = self._application.getContainerRegistry()
|
||||
self._plugin_registry = self._application.getPluginRegistry()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user