Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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"),
......
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