Commit 680153df authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

shell: default to kdevelop icon for plugins in LoadedPluginsDialog list

parent 12016eae
......@@ -100,8 +100,13 @@ public:
return displayName(plugin);
case DescriptionRole:
return pluginInfo(plugin).description();
case Qt::DecorationRole:
return pluginInfo(plugin).iconName();
case Qt::DecorationRole: {
const QString iconName = pluginInfo(plugin).iconName();
if (iconName.isEmpty()) {
return QStringLiteral("kdevelop");
return iconName;
return QVariant();
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