forked from qt-creator/qt-creator
Fixed crash when using -noload to disable multiple plugins
The noload behavior is also changed: it now always shows the plugins in About Plugins... menu, even though -noload was used. When using -noload, the enabled state of the plugin is not saved, so if the command line arg is removed, the plugin will be loaded normally. Reviewed-by: con
This commit is contained in:
@@ -128,7 +128,7 @@ bool OptionsParser::checkForNoLoadOption()
|
||||
"The plugin '%1' does not exist.").arg(m_currentArg);
|
||||
m_hasError = true;
|
||||
} else {
|
||||
m_pmPrivate->removePluginSpec(spec);
|
||||
m_pmPrivate->disablePluginIndirectly(spec);
|
||||
m_isDependencyRefreshNeeded = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user