forked from qt-creator/qt-creator
Plugin Manager: -Fix -noload to actually not load the plugin
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user