From 31ed8137d6b1fa37444d86c96974d77604a68714 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Wed, 10 Oct 2018 15:19:48 +0200 Subject: [PATCH] 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 --- src/libs/extensionsystem/pluginview.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/libs/extensionsystem/pluginview.cpp b/src/libs/extensionsystem/pluginview.cpp index 65b44307be5..6c310c8858f 100644 --- a/src/libs/extensionsystem/pluginview.cpp +++ b/src/libs/extensionsystem/pluginview.cpp @@ -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) {