Merge branch 'CURA-6856_signed_plugins_and_packages' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2019-11-12 10:48:43 +01:00
commit 3da53a3a89
No known key found for this signature in database
GPG key ID: 3710727397403C91
7 changed files with 13 additions and 5 deletions

View file

@ -720,6 +720,8 @@ class CuraApplication(QtApplication):
## Handle loading of all plugin types (and the backend explicitly)
# \sa PluginRegistry
def _loadPlugins(self) -> None:
self._plugin_registry.setCheckIfTrusted(ApplicationMetadata.IsEnterpriseVersion)
self._plugin_registry.addType("profile_reader", self._addProfileReader)
self._plugin_registry.addType("profile_writer", self._addProfileWriter)