summaryrefslogtreecommitdiff
path: root/src/libs/extensionsystem/pluginmanager_p.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-08-16 13:50:24 +0200
committerEike Ziller <eike.ziller@qt.io>2017-08-21 09:17:27 +0000
commit240aff88ab971fb27eb9d55e9cfc17dc77ade022 (patch)
treed8154630e00420d03814b528f08828565d85d411 /src/libs/extensionsystem/pluginmanager_p.h
parent03dce9a65fc376a7688867ebb71df4d725b12b87 (diff)
downloadqt-creator-240aff88ab971fb27eb9d55e9cfc17dc77ade022.tar.gz
Fix that plugins were wrongly indirectly enabled when testing
Since the disabling of all plugins except tested onces was implemented as an afterthought, it did not update the indirectly enabled plugins. Instead, update the list of enabled/disabled plugins in the optionsparser like for the -(no)load options, and trigger the update of indirectly enabled plugins afterwards. Also take test dependencies into account when indirectly enabling plugins directly. Change-Id: I59d6c05de69a3073576155f7bd6201f1cd44697c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/libs/extensionsystem/pluginmanager_p.h')
-rw-r--r--src/libs/extensionsystem/pluginmanager_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/extensionsystem/pluginmanager_p.h b/src/libs/extensionsystem/pluginmanager_p.h
index f6b1bced36..6b7a2cc75b 100644
--- a/src/libs/extensionsystem/pluginmanager_p.h
+++ b/src/libs/extensionsystem/pluginmanager_p.h
@@ -68,7 +68,7 @@ public:
QList<PluginSpec *> loadQueue();
void loadPlugin(PluginSpec *spec, PluginSpec::State destState);
void resolveDependencies();
- void enableOnlyTestedSpecs();
+ void enableDependenciesIndirectly();
void initProfiling();
void profilingSummary() const;
void profilingReport(const char *what, const PluginSpec *spec = 0);