mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
CURA-5134 Add funtionality to lazily remove plugins
This commit is contained in:
parent
e6849d1b82
commit
5e3cf92197
1 changed files with 6 additions and 1 deletions
|
@ -498,8 +498,13 @@ class CuraApplication(QtApplication):
|
|||
def getStaticVersion(cls):
|
||||
return CuraVersion
|
||||
|
||||
## Handle removing the unneeded plugins
|
||||
# \sa PluginRegistry
|
||||
def _removePlugins(self):
|
||||
self._plugin_registry.removePlugins()
|
||||
|
||||
## Handle loading of all plugin types (and the backend explicitly)
|
||||
# \sa PluginRegistery
|
||||
# \sa PluginRegistry
|
||||
def _loadPlugins(self):
|
||||
self._plugin_registry.addType("profile_reader", self._addProfileReader)
|
||||
self._plugin_registry.addType("profile_writer", self._addProfileWriter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue