Skip to content
Snippets Groups Projects
Commit cf40fdcc authored by dt's avatar dt
Browse files

Plugin Manager: -Fix -noload to actually not load the plugin

parent 7873cabd
No related branches found
No related tags found
No related merge requests found
......@@ -830,11 +830,12 @@ bool PluginSpecPrivate::resolveDependencies(const QList<PluginSpec *> &specs)
void PluginSpecPrivate::disableIndirectlyIfDependencyDisabled()
{
disabledIndirectly = false;
if (!enabled)
return;
if (disabledIndirectly)
return;
foreach (PluginSpec *dependencySpec, dependencySpecs) {
if (dependencySpec->isDisabledIndirectly() || !dependencySpec->isEnabled()) {
disabledIndirectly = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment