mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Properly get the application
Why are we getting this passed via parent???
This commit is contained in:
parent
7665f8a7cb
commit
f3be394080
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue