Commit 6b875100 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau

Merge branch '5.4'

parents 48b835ac 035dc4ac
......@@ -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();
......@@ -19,6 +19,7 @@
"Description[x-test]": "xxScratchpad lets you quickly run and experiment with code without a full project, and even store todos.xx",
"Description[zh_CN]": "通过刮板,您可以在没有完整项目的情况下快速运行和试验代码,甚至可以存储待办事项。",
"Id": "scratchpad",
"Icon": "note",
"Name": "Scratchpad",
"Name[ca@valencia]": "Scratchpad",
"Name[ca]": "Scratchpad",
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