summaryrefslogtreecommitdiff
path: root/src/libs/extensionsystem/pluginspec_p.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-07-03 17:41:24 +0200
committerEike Ziller <eike.ziller@digia.com>2014-07-04 08:51:39 +0200
commitac31d3c67ec12a64e7b0d69179b05b950f5a8d61 (patch)
tree258c7443f90d89975b4a0be798cf07a5db43c47f /src/libs/extensionsystem/pluginspec_p.h
parent9c6f559156281a7b7198075382559b90ad9dd6de (diff)
downloadqt-creator-ac31d3c67ec12a64e7b0d69179b05b950f5a8d61.tar.gz
PluginManager: Remove hardcoded list of plugins that cannot be disabled
Instead add an optional attribute "required" to the plugin spec. Since the locator plugin and find plugin are gone, and I don't see a reason to prevent disabling the text editor plugin, only Core plugin gets the new attribute set. Change-Id: I7a380026ea46173cf00afff4213ca1b3a2578434 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Diffstat (limited to 'src/libs/extensionsystem/pluginspec_p.h')
-rw-r--r--src/libs/extensionsystem/pluginspec_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/extensionsystem/pluginspec_p.h b/src/libs/extensionsystem/pluginspec_p.h
index f6944cf137..6dfac9dbd3 100644
--- a/src/libs/extensionsystem/pluginspec_p.h
+++ b/src/libs/extensionsystem/pluginspec_p.h
@@ -65,6 +65,7 @@ public:
QString name;
QString version;
QString compatVersion;
+ bool required;
bool experimental;
bool disabledByDefault;
QString vendor;