Commit bf518ba8 authored by Lasse Holmstedt's avatar Lasse Holmstedt
Browse files

remove startup error messages from plugins that are disabled by user

User can still see errors in About Plugins for disabled ones, too

Reviewed-by: mae
parent e24ebf87
......@@ -295,8 +295,9 @@ int main(int argc, char **argv)
{
QStringList errors;
foreach (ExtensionSystem::PluginSpec *p, pluginManager.plugins())
if (p->hasError())
errors.append(p->errorString());
// only show errors on startup if plugin is enabled.
if (p->hasError() && p->isEnabled() && !p->isDisabledByDependency())
errors.append(p->name() + "\n" + p->errorString());
if (!errors.isEmpty())
QMessageBox::warning(0,
QCoreApplication::translate("Application", "Qt Creator - Plugin loader messages"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment