Move getCuraPackageManager to Uranium and initialize package manager there

This commit is contained in:
Ghostkeeper 2018-05-24 20:47:09 +02:00
parent 0f4f55cf6b
commit 945429195e
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A
3 changed files with 2 additions and 11 deletions

View file

@ -160,7 +160,7 @@ class Toolbox(QObject, Extension):
# This is a plugin, so most of the components required are not ready when
# this is initialized. Therefore, we wait until the application is ready.
def _onAppInitialized(self) -> None:
self._package_manager = Application.getInstance().getCuraPackageManager()
self._package_manager = Application.getInstance().getPackageManager()
# Get the API root for the packages API depending on Cura version settings.
def _getPackagesApiRoot(self) -> str: