Commit 71da3900 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇

Also try application.name to get iconName

Differential Revision: https://phabricator.kde.org/D6387
parent 27aa584f
......@@ -74,6 +74,11 @@ QString PulseObject::iconName() const
return name;
}
name = m_properties.value(QStringLiteral("application.name")).toString();
if (!name.isEmpty() && QIcon::hasThemeIcon(name)) {
return name;
}
name = property("name").toString();
if (!name.isEmpty() && QIcon::hasThemeIcon(name)) {
return name;
......
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