Commit e8a7d8da authored by Nate Graham's avatar Nate Graham
Browse files

[applets/devicenotifier] Add placeholder icon when no device icon exists

Otherwise the list item loses its icon for a moment when its device is
removed, and this looks a bit odd.

BUG: 433534
FIXED-IN: 5.21.2
(cherry picked from commit e60a1694)
parent ea26b92c
......@@ -136,7 +136,9 @@ PlasmaExtras.ExpandableListItem {
icon:[udi] == undefined ? "" :[udi].Icon
// When there's no better icon available, show a placeholder icon instead
// of nothing
icon:[udi] == undefined ? "device-notifier" :[udi].Icon
iconEmblem: {
if ([udi] != undefined) {
Supports Markdown
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