ExtensionSystem: Remove icon from categories

It provides no real additional value and seems to
be more confusing when Qt Creator gets started with
command line options that load disabled or disable
enabled plugins.

Change-Id: I979f9ee95154af11aedd6100717043adc5e1e7a9
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2018-10-10 15:19:48 +02:00
parent 6a19eebfc2
commit 31ed8137d6

View File

@@ -228,15 +228,6 @@ public:
if (column == NameColumn) {
if (role == Qt::DisplayRole || role == SortRole)
return m_name;
if (role == Qt::DecorationRole) {
foreach (PluginSpec *spec, m_plugins) {
if (spec->hasError())
return icon(ErrorIcon);
if (!spec->isEnabledBySettings())
return icon(NotLoadedIcon);
}
return icon(OkIcon);
}
}
if (column == LoadedColumn) {