Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/items/ItemLoader.qml
Show All 24 Lines | 22 | Loader { | |||
---|---|---|---|---|---|
25 | property var itemModel: model | 25 | property var itemModel: model | ||
26 | 26 | | |||
27 | source: { | 27 | source: { | ||
28 | if (model.itemType === "Plasmoid" && model.hasApplet) { | 28 | if (model.itemType === "Plasmoid" && model.hasApplet) { | ||
29 | return "PlasmoidItem.qml" | 29 | return "PlasmoidItem.qml" | ||
30 | } else if (model.itemType === "StatusNotifier") { | 30 | } else if (model.itemType === "StatusNotifier") { | ||
31 | return "StatusNotifierItem.qml" | 31 | return "StatusNotifierItem.qml" | ||
32 | } | 32 | } | ||
33 | return "" | ||||
33 | } | 34 | } | ||
34 | } | 35 | } |