forked from qt-creator/qt-creator
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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user